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

Bug 166825

Summary: sys-apps/eject incorrectly handles mount points with spaces in name
Product: Gentoo Linux Reporter: Jan <gentoo-bugzilla>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Resolves the problem of white spaces in mount points

Description Jan 2007-02-14 13:10:25 UTC
If I could have done so, I would have re-opened this bug: http://bugs.gentoo.org/show_bug.cgi?id=151257. The patch suggested there does not resolve the problem of white spaces in mount points in my opinion.

De-mangling of the mount points must be done *before* the strcmp(), not afterwards. Additionally, I would suggest testing for "\0nn" when looking for an octal number rather than testing for "\nnn".
Comment 1 Jan 2007-02-14 13:13:42 UTC
Created attachment 110163 [details, diff]
Resolves the problem of white spaces in mount points
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-02-14 13:40:16 UTC

*** This bug has been marked as a duplicate of bug 151257 ***