[BusyBox] [patch] updated ar.c

bug1 bug1 at netconnect.com.au
Sat Jun 10 13:30:14 UTC 2000


the attached diff applies to the ar.c i originally submitted

Changes

Preserve dates now works.
Extracted files are set to the uid, gid and mode specified in the
archive.
Checks for valid end of header marker.
Correctly unpacks newer debian files. (has a '\n' charcter between
entries)
Added more comments.
Cleaned up code.
Added a last modified date to help keep track of versions.


TODO

Common functionality in ar.c are in tar.c should be merged, in
particular getOctal and extractSubFile.

Should all functions that are used by multiple file go in utilities.c ?

Thanks

Glenn
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ar.c.diff.gz
Type: application/octet-stream
Size: 3281 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/busybox/attachments/20000610/770686cd/attachment.obj 


More information about the busybox mailing list