Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 297016

Summary: media-sound/mpg321-0.2.10.6 wrongly appends / to directory name
Product: Gentoo Linux Reporter: Erik <esigra>
Component: [OLD] UnspecifiedAssignee: Gentoo Sound Team <sound>
Status: RESOLVED UPSTREAM    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://sourceforge.net/tracker/?func=detail&aid=3036864&group_id=36274&atid=416542
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: patch that fixes the issue

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.