Age | Commit message (Collapse) | Author | |
---|---|---|---|
2003-10-23 | Another bzip2 update and speedup from Manuel Novoa III, with some | Eric Andersen | |
additional changes (primarily lots of comments) from Rob Landley. | |||
2003-10-18 | Manuel Novoa III writes: | Eric Andersen | |
Hello Rob, Here's a patch to your bunzip-3.c file. Nice work btw. One minor bug fix... checking for error return when read()ing. Some size/performance optimizations as well. One instance of memset() seems unnecssary. You might want to take a look. Anyway, on my machine, decompressing linux-2.6.0-test7.tar.bz2 to /dev/null gave the following times: bunzip-3.c bzcat (system) bunzip-3.c (patched) real 0m24.420s 0m22.725s 0m20.701s user 0m23.930s 0m22.170s 0m20.180s sys 0m0.070s 0m0.080s 0m0.140s Size of the patched version is comparable (slightly larger or smaller depending on compiler flags). Manuel | |||
2003-10-18 | Rob Landley's new micro-bunzip version 3. Rob writes: | Eric Andersen | |
The API for using partial writes, as described in my last message, sucked. So here's a patch against my last patch that changes things so that write_bunzip_data calls read_bunzip_data itself behind the scenes whenever necessary. So usage is now just start_bunzip(), write_bunzip_data() until it returns a negative number, and then the cleanup at the end of uncompressStream. It adds 32 bytes to the executable, but it should allow the caller (tar) to be simplified enough to compensate. Total -Os stripped exe size now 6856 bytes. Rob P.S. I attached the whole C file so you don't have to keep incremental patches straight if you don't want to. :) P.S. In the version I'm banging on now, I've simplified the license to just LGPL. I read the OSL a bit more closely and the patent termination clause would have bit IBM in their counter-suit of SCO if the code in question had been OSL instead of GPL, and I've decided I just don't want to beta-test legal code right now. | |||
2003-09-12 | Fix handling of hardlinks when OLDGNU and GNU extensions arent enabled. | Glenn L McGrath | |
2003-09-12 | Use the typeflag to identify if its a hardlink on OLD and GNU posix | Glenn L McGrath | |
modes, fixes a bug extracting hardlinks to symlinks. | |||
2003-09-11 | Marc A. Lehmann writes: | Eric Andersen | |
The tar -x command in busybox does not restore the file mode correctly. The reason is most probably this code in archival/libunarachive/data_extract_all.c: chmod(file_header->name, file_header->mode); chown(file_header->name, file_header->uid, file_header->gid); chown clears the set*id bits (on current versions of linux :). Flipping the order around fixes the problem. (tested with 1.00pre3 from cvs). | |||
2003-09-09 | If a tar entry is a regualr file ending in a '/' then its really a | Glenn L McGrath | |
directory. From http://www.gnu.org/manual/tar/html_node/tar_123.html REGTYPE AREGTYPE These flags represent a regular file. In order to be compatible with older versions of tar, a typeflag value of AREGTYPE should be silently recognized as a regular file. New archives should be created using REGTYPE. Also, for backward compatibility, tar treats a regular file whose name ends with a slash as a directory. | |||
2003-08-28 | Dont unlink when testing ! | Glenn L McGrath | |
Always preserve creation date Disable the -p option its for modification date Remove some cpio header debugging noise Syncronise file listing behaviour with upstream. | |||
2003-08-14 | Change hardlink handling for tar to work the same way as cpio | Glenn L McGrath | |
2003-07-31 | Fix bug when handling debian packages. | Glenn L McGrath | |
If we read the contents of compressed files within the ar archive, e.g. control.tar.gz, then file position gets all out of whack, so it has to be reset before reading thenext header. | |||
2003-07-16 | Fixup problem unconditionally converting all hard links to symlinks. | Eric Andersen | |
2003-07-14 | Update a bunch of docs. Run a script to update my email addr. | Eric Andersen | |
2003-07-05 | Be certain to not abort prematurely when reading stuff from pipes. | Eric Andersen | |
2003-06-12 | Handle hard links by converting them to symlinks | Glenn L McGrath | |
2003-04-21 | unlink a previous file before its extracted | Glenn L McGrath | |
2003-03-19 | Major coreutils update. | Manuel Novoa III | |
2003-02-09 | Woops, my gunzip fix broke unzip, these cant be static | Glenn L McGrath | |
2003-02-09 | Moved to libunarchive/unzip.c | Glenn L McGrath | |
2003-02-09 | Fix endian probelm on PPC, i had different types for an extern variable. | Glenn L McGrath | |
2003-01-28 | Fix long standing bug with old gnu tar files, add a check so tar will | Glenn L McGrath | |
complain "unknown file type" if it tries to extract an oldgnu tar file and TAR_FEATURE_OLDGNU_COMPATABILITY sint defined. Print a warning if unisupported gnu extensions are encountered. | |||
2002-12-11 | A cleaner cleanup that avoids passing an off_t to scanf | Eric Andersen | |
2002-12-11 | squash a warning | Eric Andersen | |
2002-12-10 | rpm applet by Laurence Anderson | Glenn L McGrath | |
2002-12-08 | Move add_to_list from libunarchive to libbb so it can be of more general use ↵ | Glenn L McGrath | |
(eg ifupdown). Changed the name to llist_add_to as i plan on adding more llist_ functions as needed (e.g. llist_free). | |||
2002-12-04 | Unlink before mkdir, mknod, symlink to overwrite | Glenn L McGrath | |
2002-12-01 | fix warning | Glenn L McGrath | |
2002-11-28 | Style | Glenn L McGrath | |
2002-11-24 | Add an input buffer (currently 32kB) to speed things up heaps, it still ↵ | Glenn L McGrath | |
requires 25% longer to decompress as compared to upstream. | |||
2002-11-23 | Fix long filename support | Glenn L McGrath | |
2002-11-20 | Speed and memory usage improvements from Laurence Adnerson | Glenn L McGrath | |
2002-11-20 | read_gz patch 3 from Laurence Anderson | Glenn L McGrath | |
2002-11-19 | Use read_gz, remove fork() woohoo! | Glenn L McGrath | |
2002-11-17 | Patch from Laurence Anderson to provide a read_gz function, doesnt require ↵ | Glenn L McGrath | |
fork(), pipe(), consistent with read_bz2 and more flexible. | |||
2002-11-15 | Allow short reads as we are looping anyway. | Glenn L McGrath | |
2002-11-13 | Minor cleanups | Glenn L McGrath | |
2002-11-12 | Reduce block size to 512 to prevent short read's when reading from a pipe | Glenn L McGrath | |
2002-11-08 | #ifdef, not just #if... grrr | Glenn L McGrath | |
2002-11-06 | Terminate the buffer with a '\0' | Glenn L McGrath | |
2002-11-05 | Fail silently if a partial tar header is read as tar.bz2 is leaving trailing ↵ | Glenn L McGrath | |
junk (not sure why), add some missing files | |||
2002-11-05 | enable .tar.bz2 for dpkg-deb | Glenn L McGrath | |
2002-11-04 | Change filter paramaters, filters can be more powefull now | Glenn L McGrath | |
2002-11-03 | Abstract read and seek in unarchiving code, convert bunzip to file ↵ | Glenn L McGrath | |
descriptors, support tar -j | |||
2002-11-03 | Fix #define syntax | Glenn L McGrath | |
2002-11-03 | Move data_extract_all_prefix to dpkg, its only used there. | Glenn L McGrath | |
2002-11-03 | Add copyright notice and license, use strcat+strcpy instead of sprintf | Glenn L McGrath | |
2002-11-03 | Use xread_char to save a few bytes, fix indenting of comments | Glenn L McGrath | |
2002-11-03 | Move bunzip2 idecompression code to libunarchive | Glenn L McGrath | |
2002-11-01 | Make uncompress a seperate applet so it doesnt pull in all the gunzip code | Glenn L McGrath | |
2002-11-01 | Allow short reads when filling compress buffer | Glenn L McGrath | |
2002-11-01 | Make it a fatal error if bad chksum or crc, if not we should return an error ↵ | Glenn L McGrath | |
code |