[Libburn] patch test/iso.c

Alan Jenkins sourcejedi at phonecoop.coop
Fri Aug 27 08:15:15 PDT 2004


The current version of this test inserts "\" as path separator 
characters and doesn't set the names of files or directories, so it 
would only work when the path on the computer is the same as the path on 
the created filesystem (i.e. when making an image from the root 
directory) - except for the fact that it segfaulted when the path ended 
in a "/", and it would create a directory with the name of the path 
instead of making it the root (iso image.iso /path would give you an 
image with path in the root directory instead of the contents of path in 
the root directory). 
(deep breath).
Attached is a patch which should fix the above problems.  Error handling 
should also be marginally improved.  It doesn't seem to work on large 
sets of files (probably a libisofs bug), and it gets caught by recursive 
symlinks (e.g. /dir/link -> /dir).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: iso.c.diff
Type: text/x-patch
Size: 2598 bytes
Desc: not available
Url : http://freedesktop.org/pipermail/libburn/attachments/20040827/7a1057c7/iso.c.bin


More information about the libburn mailing list