Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 166783 - Patch app-arch/unadf to handle certain chars in dir names
Summary: Patch app-arch/unadf to handle certain chars in dir names
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-14 03:35 UTC by gent_bz
Modified: 2007-02-14 04:21 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.