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

Bug 166783

Summary: Patch app-arch/unadf to handle certain chars in dir names
Product: Gentoo Linux Reporter: gent_bz
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED UPSTREAM    
Severity: normal CC: robbat2
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description gent_bz 2007-02-14 03:35:31 UTC
[This is from an email originally written by Troy Davis]


The original unadf, i.e.:

http://lclevy.club.fr/adflib/unadf.html

...could not extract directories that contained spaces and/or single quote 
(') characters.  It gives you an error similar to "sh: unable to mkdir", 
etc.  Changing the following two lines in Demo/unadf.c fixes this problem:

Line 148 becomes:  sprintf(sysbuf,"%s \"%s\"",MKDIR,buf);

Line 152 becomes:  sprintf(sysbuf,"%s \"%s\"",MKDIR,entry->name);

Reproducible: Always
Comment 1 gent_bz 2007-02-14 04:21:40 UTC
I was surprised to see that upstream is still alive on this one, so I have sent notification of the bug (as well as a couple of others).

When a new version is released, I'll post another bug.