[Toybox] [New Toy] cpio, cleaned up a little

ibid.ag at gmail.com ibid.ag at gmail.com
Sat Oct 12 22:20:35 PDT 2013


Here's a revised cpio.
I've reduced the use of malloc(), dropped an extra function call, and 
-at least in theory- allowed proper handling of non-regular files.
(If we have a file we can't read, we still should record it when it's
of a type where file content is ignored).

Thanks,
Isaac Dunham
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cpio.c
Type: text/x-csrc
Size: 6152 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20131012/768acc12/attachment-0005.c>


More information about the Toybox mailing list