summaryrefslogtreecommitdiff
path: root/archival/libunarchive/data_extract_all.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Make certain clients of bb_make_directory default to honoringEric Andersen2004-10-131-1/+1
| | | | the user's umask
* Larry Doolittle writes:Eric Andersen2004-04-141-1/+1
| | | | | | | | | | | | | | | | | | | | | | This is a bulk spelling fix patch against busybox-1.00-pre10. If anyone gets a corrupted copy (and cares), let me know and I will make alternate arrangements. Erik - please apply. Authors - please check that I didn't corrupt any meaning. Package importers - see if any of these changes should be passed to the upstream authors. I glossed over lots of sloppy capitalizations, missing apostrophes, mixed American/British spellings, and German-style compound words. What is "pretect redefined for test" in cmdedit.c? Good luck on the 1.00 release! - Larry
* Remove trailing whitespace. Update copyright to include 2004.Eric Andersen2004-03-151-2/+2
|
* Don't hose up perms for files that happen to have symlinksEric Andersen2003-12-211-2/+4
| | | | | in the tarball that point to them. -Erik
* Fix tar hard linksGlenn L McGrath2003-11-271-2/+3
|
* As we no longer use function pointers for read in common archiving codeGlenn L McGrath2003-11-211-1/+1
| | | | | | | archive_xread can be replaced with bb_full_read, and archive_copy_file with bb_copyfd* bb_copyfd is split into two functions bb_copyfd_size and bb_copyfd_eof, they share a common backend.
* Dont attempt to unlink directoriesGlenn L McGrath2003-11-201-1/+1
|
* Fix a bug where cpio wouldnt work unless -u was specifiedGlenn L McGrath2003-11-151-10/+8
|
* Marc A. Lehmann writes:Eric Andersen2003-09-111-1/+1
| | | | | | | | | | | | | | | 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).
* Dont unlink when testing !Glenn L McGrath2003-08-281-0/+25
| | | | | | | Always preserve creation date Disable the -p option its for modification date Remove some cpio header debugging noise Syncronise file listing behaviour with upstream.
* Change hardlink handling for tar to work the same way as cpioGlenn L McGrath2003-08-141-42/+40
|
* unlink a previous file before its extractedGlenn L McGrath2003-04-211-1/+2
|
* Major coreutils update.Manuel Novoa III2003-03-191-8/+8
|
* Fix long standing bug with old gnu tar files, add a check so tar willGlenn L McGrath2003-01-281-0/+2
| | | | | | 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.
* rpm applet by Laurence AndersonGlenn L McGrath2002-12-101-1/+1
|
* Unlink before mkdir, mknod, symlink to overwriteGlenn L McGrath2002-12-041-0/+3
|
* Abstract read and seek in unarchiving code, convert bunzip to file ↵Glenn L McGrath2002-11-031-2/+20
| | | | descriptors, support tar -j
* last_patch61 from vodz:Eric Andersen2002-10-101-1/+1
| | | | | | | | | New complex patch for decrease size devel version. Requires previous patch. Also removed small problems from dutmp and tar applets. Also includes vodz' last_patch61_2: Last patch correcting comment for #endif and more integrated with libbb (very reduce size if used "cat" applet also). Requires last_patch61 for modutils/config.in.
* Patch from Konstantin Isakov <ikm@pisem.net>:Eric Andersen2002-09-301-3/+4
| | | | | | | | In most cases, dirname returns the same argument it was given, so this code works nice, but there's one special case: when the name contains no dirname, it returns "." (stored statically in the body of itself), and we get a segfault in attempt to free() it. This patch fixes this problem.
* Fix compress support and prevent a segfaultGlenn L McGrath2002-09-271-1/+0
|
* New common unarchive code.Glenn L McGrath2002-09-251-0/+76