Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 297016 - media-sound/mpg321-0.2.10.6 wrongly appends / to directory name
Summary: media-sound/mpg321-0.2.10.6 wrongly appends / to directory name
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL: http://sourceforge.net/tracker/?func=...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-15 10:38 UTC by Erik
Modified: 2010-07-30 00:14 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch that fixes the issue (fix_gentoo_bug297016-1.diff,405 bytes, patch)
2009-12-15 10:46 UTC, Erik
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Erik 2009-12-15 10:38:41 UTC
When mpg321 gets a filename including a path, it prints a line with the text "Directory: %s/\n", where %s is the name of the directory. So if it gets "/usr/sound.mp3" on the command line, it prints "Directory: /usr/". It should not print the trailing /. This loops particularly stupid when it gets "/sound.mp3" and prints "Directory: //\n".
Comment 1 Erik 2009-12-15 10:46:26 UTC
Created attachment 213072 [details, diff]
patch that fixes the issue
Comment 2 Erik 2009-12-15 11:24:36 UTC
media-sound/mpg123-1.9.2 does not have this problem. It prints the string exactly as in mpg321 with my patch applied. so I will just use mpg123 instead.
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2010-07-30 00:14:36 UTC
http://sourceforge.net/tracker/?func=detail&aid=3036864&group_id=36274&atid=416542

Closing as UPSTREAM, if they want it, we will get it with next version.