aboutsummaryrefslogtreecommitdiff
path: root/archival (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Call lseek directly rather than via data_align()bug12002-11-031-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5789 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Abstract read and seek in unarchiving code, convert bunzip to file ↵bug12002-11-0325-306/+442
| | | | | | descriptors, support tar -j git-svn-id: svn://busybox.net/trunk/busybox@5787 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix #define syntaxbug12002-11-032-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5784 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Move data_extract_all_prefix to dpkg, its only used there.bug12002-11-033-38/+15
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5783 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add copyright notice and license, use strcat+strcpy instead of sprintfbug12002-11-031-8/+21
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5782 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use xread_char to save a few bytes, fix indenting of commentsbug12002-11-031-23/+12
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5781 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Move bunzip2 idecompression code to libunarchivebug12002-11-033-1787/+1812
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5780 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Make uncompress a seperate applet so it doesnt pull in all the gunzip codebug12002-11-016-4/+143
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5771 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Allow short reads when filling compress bufferbug12002-11-012-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5769 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Allow the .Z prefix if compress support enabledbug12002-11-011-5/+9
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5768 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Make it a fatal error if bad chksum or crc, if not we should return an error ↵bug12002-11-011-2/+2
| | | | | | code git-svn-id: svn://busybox.net/trunk/busybox@5767 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Report errror if the first magic character doesnt matchbug12002-11-011-0/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5764 69ca8d6d-28ef-0310-b511-8ec308f3f277
* A bugfix from Danny Lepage:andersen2002-10-261-1/+1
| | | | | | | | | | It seems that under busybox unstable, "tar -c -f - blabla" create a tar file named "-" instead of writing to stdout. The included patch should fix this. git-svn-id: svn://busybox.net/trunk/busybox@5712 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Move unzip.c uncompress.c from libbb to archiveal/libunarchivebug12002-10-221-1/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5681 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update dpkg to use new unarchive codebug12002-10-194-6/+80
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5677 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix exclude/include problembug12002-10-195-47/+34
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5676 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Find a string in a listbug12002-10-191-0/+30
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5675 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove entries from the accept list as they are matched so we can determine ↵bug12002-10-192-0/+14
| | | | | | if any files that were specified in the list wernt found. git-svn-id: svn://busybox.net/trunk/busybox@5674 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Dont use absolute pathname (dunno why i did that), fix tar filename/stdin ↵bug12002-10-191-16/+25
| | | | | | problems git-svn-id: svn://busybox.net/trunk/busybox@5671 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Put bac kthe code that handles cases where a '-' wasnt specified prior to ↵bug12002-10-181-0/+8
| | | | | | the options. git-svn-id: svn://busybox.net/trunk/busybox@5670 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix an obvious thinkoandersen2002-10-181-1/+1
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@5667 69ca8d6d-28ef-0310-b511-8ec308f3f277
* last_patch61 from vodz:andersen2002-10-102-7/+7
| | | | | | | | | | | | 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. git-svn-id: svn://busybox.net/trunk/busybox@5640 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix segfault when testing if reaidng from stdin "-"bug12002-10-061-1/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5624 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Vodz' last_patch57:andersen2002-09-301-5/+3
| | | | | | | | | | | | | | | | | | Hi, Erik. my_getpw(uid/gid) and applets used it have problem: if username for uid not found, applets can`t detect it (but code pessent). Also "%8ld " format is bad: spaces not required (applets have self format or spec format (tar applet) and overflow for "id" applet...) This problem also pressent in stable version. Patch for unstable in attach. --w vodz git-svn-id: svn://busybox.net/trunk/busybox@5613 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Konstantin Isakov <ikm@pisem.net>: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. git-svn-id: svn://busybox.net/trunk/busybox@5609 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Save status so we know if to delete compressed filebug12002-09-301-1/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5604 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix for using '-' as the filename when reading from stdinbug12002-09-281-9/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5601 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix compress support and prevent a segfaultbug12002-09-279-49/+59
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5599 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix simple define problembug12002-09-261-2/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5597 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove files made obsolete by new unarchiving codebug12002-09-254-655/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5590 69ca8d6d-28ef-0310-b511-8ec308f3f277
* New common unarchive code.bug12002-09-2531-1386/+1969
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5589 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Modified so that it "works" for archs other than i386... arm in particular.mjn32002-09-171-47/+108
| | | | | | | | | Also tried to clean up the logic a little, and ensure that read errors or invalid archives resulted in error returns. This could use a lot more work... Volunteers? git-svn-id: svn://busybox.net/trunk/busybox@5548 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Matthias Lang <matthias@corelatus.se> to fix gunzipandersen2002-09-162-52/+126
| | | | | | | error handling and prevent gunzip from hanging. git-svn-id: svn://busybox.net/trunk/busybox@5503 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Support for GNU style long filename and linknamesbug12002-09-152-10/+40
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5486 69ca8d6d-28ef-0310-b511-8ec308f3f277
* chmod on the NEW filebug12002-08-261-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5391 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Reorganise, make it just one function, remove -v option it didnt work ↵bug12002-08-241-114/+87
| | | | | | properly anyway, dont setvbuf it doesnt make any difference in performance. git-svn-id: svn://busybox.net/trunk/busybox@5376 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Run through indent, use bracesbug12002-08-241-82/+90
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5375 69ca8d6d-28ef-0310-b511-8ec308f3f277
* replace some global const ints with definesbug12002-08-222-8/+8
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5347 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Specify castbug12002-08-221-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5346 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove duplicate variable definitionbug12002-08-221-1/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5345 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Run through indent, fix commentsbug12002-08-222-746/+764
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5342 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Run through ident, fix commentsbug12002-08-221-49/+49
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5338 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Run through indent, use /* */ style comments, change extern to staticbug12002-08-221-286/+260
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5334 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Run through indentbug12002-08-221-241/+238
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5332 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Honour the USTAR prefix field, this enables a 155 byte path length plus the ↵bug12002-08-221-2/+6
| | | | | | | | | normal 100 byte filename. The catch is gnu tar cannot create archives that use the prefix field, you need to use s-tar. git-svn-id: svn://busybox.net/trunk/busybox@5328 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Tar inlining, #if 0 out unused functionaaronl2002-08-211-5/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5325 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Enable support for the old tar header format, enable via menu'sbug12002-08-132-5/+38
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5260 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Added tar -cz support (creating gzipped tar files without a gzip pipe)sandman2002-07-232-26/+95
| | | | git-svn-id: svn://busybox.net/trunk/busybox@5077 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Applied vodz' patches #49 and #50 (with a small correction in runshell.c)sandman2002-07-193-7/+3
| | | | | | | | | | | | #49: I found one memory overflow and memory leak in "ln" applet. Last patch reduced also 54 bytes. ;) #50: I found bug in loginutils/Makefile.in. New patch have also new function to libbb and aplied this to applets and other cosmetic changes. git-svn-id: svn://busybox.net/trunk/busybox@5066 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixup warnings and undefined operations that show up in gcc-3.1andersen2002-07-115-5/+10
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@5042 69ca8d6d-28ef-0310-b511-8ec308f3f277