Glenn L McGrath
|
9ffd5776eb
|
Move unzip.c uncompress.c from libbb to archiveal/libunarchive
|
2002-10-22 01:07:32 +00:00 |
|
Glenn L McGrath
|
0d53ebdc52
|
gz_open is used anymore, use inflate directly, see how its done in get_header_tar_gz
|
2002-10-21 06:29:55 +00:00 |
|
Glenn L McGrath
|
4298e87fa5
|
Dont try and make the "/" directory
|
2002-10-19 23:56:41 +00:00 |
|
Glenn L McGrath
|
61b7904afd
|
Update dpkg to use new unarchive code
|
2002-10-19 10:40:55 +00:00 |
|
Glenn L McGrath
|
c5c1a8a112
|
Fix exclude/include problem
|
2002-10-19 06:19:22 +00:00 |
|
Glenn L McGrath
|
05fa661123
|
Find a string in a list
|
2002-10-19 05:10:51 +00:00 |
|
Glenn L McGrath
|
25bca9566d
|
Remove entries from the accept list as they are matched so we can determine if any files that were specified in the list wernt found.
|
2002-10-19 02:18:51 +00:00 |
|
Glenn L McGrath
|
98f824aa22
|
Dont use absolute pathname (dunno why i did that), fix tar filename/stdin problems
|
2002-10-19 00:46:35 +00:00 |
|
Glenn L McGrath
|
934805aec1
|
Put bac kthe code that handles cases where a '-' wasnt specified prior to the options.
|
2002-10-18 23:59:40 +00:00 |
|
Glenn L McGrath
|
2983330512
|
Fix segfault when testing if reaidng from stdin "-"
|
2002-10-06 23:25:23 +00:00 |
|
Glenn L McGrath
|
5c99581880
|
Save status so we know if to delete compressed file
|
2002-09-30 05:30:29 +00:00 |
|
Glenn L McGrath
|
924f93e848
|
make_directory() will fail instantly so we dont need to test for failure here
|
2002-09-28 08:32:14 +00:00 |
|
Glenn L McGrath
|
891ee641cb
|
Fail straight away rather than recursively printing error messages :)
|
2002-09-28 08:30:47 +00:00 |
|
Glenn L McGrath
|
8132e933e6
|
Fix for using '-' as the filename when reading from stdin
|
2002-09-28 02:06:39 +00:00 |
|
Glenn L McGrath
|
2e41d0cb77
|
Fix compress support and prevent a segfault
|
2002-09-27 06:46:02 +00:00 |
|
Glenn L McGrath
|
a47a3eada6
|
Fix simple define problem
|
2002-09-26 16:01:21 +00:00 |
|
Glenn L McGrath
|
5a66b640f9
|
Reverse some minor changes that got caught up in my big unarchive patch
|
2002-09-25 06:08:19 +00:00 |
|
Glenn L McGrath
|
69eab26401
|
Remove files made obsolete by new unarchiving code
|
2002-09-25 03:04:03 +00:00 |
|
Glenn L McGrath
|
7ca04f328e
|
New common unarchive code.
|
2002-09-25 02:47:48 +00:00 |
|
Glenn L McGrath
|
b3f7261ffe
|
Fix error messages conditions, and make them the same as GNU mkdir.
|
2002-09-22 02:12:30 +00:00 |
|
Glenn L McGrath
|
18b76e6f80
|
Watch applet by Michael Habermann
|
2002-09-16 09:10:04 +00:00 |
|
Glenn L McGrath
|
061c900176
|
mesg applet by Manuel Novoa III
|
2002-09-16 04:21:46 +00:00 |
|
Glenn L McGrath
|
ebdc8b48a5
|
Put in GPL v2 or later copyright notice
|
2002-09-16 03:47:48 +00:00 |
|
Glenn L McGrath
|
ec0c48cb29
|
openvt applet by Quy Tonthat
|
2002-09-16 03:16:06 +00:00 |
|
Glenn L McGrath
|
6714862bdd
|
Use busybox's show_usage function for help
|
2002-09-15 17:20:45 +00:00 |
|
Glenn L McGrath
|
7a32aaacd0
|
Awk applet written from scratch by Dmitry Zakharov
|
2002-09-15 17:03:48 +00:00 |
|
Glenn L McGrath
|
b3c4e9add5
|
Support for GNU style long filename and linknames
|
2002-09-15 16:54:49 +00:00 |
|
Glenn L McGrath
|
c3b7f7d6e7
|
chmod on the NEW file
|
2002-08-26 17:17:27 +00:00 |
|
Glenn L McGrath
|
193697db4e
|
Dont return an error if the directory already existed
|
2002-08-24 20:11:38 +00:00 |
|
Glenn L McGrath
|
210aa14916
|
Fix warning
|
2002-08-24 20:00:52 +00:00 |
|
Glenn L McGrath
|
abac53b33c
|
Reorganise, make it just one function, remove -v option it didnt work properly anyway, dont setvbuf it doesnt make any difference in performance.
|
2002-08-24 14:32:17 +00:00 |
|
Glenn L McGrath
|
1ee52e8b14
|
Run through indent, use braces
|
2002-08-24 10:30:36 +00:00 |
|
Glenn L McGrath
|
fbef225c4b
|
Rewrite, its smaller
|
2002-08-23 17:19:26 +00:00 |
|
Glenn L McGrath
|
192ff35d9c
|
Remove empty loops
|
2002-08-23 14:36:59 +00:00 |
|
Glenn L McGrath
|
0be933b505
|
Use static instead of extern, braces around if's, run through indent
|
2002-08-23 14:31:28 +00:00 |
|
Glenn L McGrath
|
50812fff21
|
Apply vodz last_path_51-2
|
2002-08-23 13:14:48 +00:00 |
|
Glenn L McGrath
|
de9e803149
|
Apply vodz last_patch51_2 and run through indent
|
2002-08-23 12:04:23 +00:00 |
|
Glenn L McGrath
|
8042f65398
|
Run through indent, style
|
2002-08-23 06:17:46 +00:00 |
|
Glenn L McGrath
|
acfc0d872e
|
Run through indent, fix comments
|
2002-08-23 06:05:11 +00:00 |
|
Glenn L McGrath
|
03195fc16f
|
Run through indent, fix comments
|
2002-08-23 05:58:38 +00:00 |
|
Glenn L McGrath
|
a199b17253
|
Run through indent, specify cast
|
2002-08-23 03:37:07 +00:00 |
|
Glenn L McGrath
|
14dad7028b
|
Run through indent
|
2002-08-23 03:25:22 +00:00 |
|
Glenn L McGrath
|
1ed9dd9d06
|
Remove duplicate definitions, run through indent
|
2002-08-22 19:35:36 +00:00 |
|
Glenn L McGrath
|
4534af2763
|
replace some global const ints with defines
|
2002-08-22 19:31:35 +00:00 |
|
Glenn L McGrath
|
0775a07d87
|
Specify cast
|
2002-08-22 19:22:32 +00:00 |
|
Glenn L McGrath
|
4cc2e5e944
|
Remove duplicate variable definition
|
2002-08-22 19:15:26 +00:00 |
|
Glenn L McGrath
|
9fef17dec3
|
Run through indent, fix comments
|
2002-08-22 18:41:20 +00:00 |
|
Glenn L McGrath
|
7c58e9be69
|
Run through indent, fix comment
|
2002-08-22 18:24:43 +00:00 |
|
Glenn L McGrath
|
baf55a85fc
|
Run through indent, fix comments
|
2002-08-22 18:22:10 +00:00 |
|
Glenn L McGrath
|
e3906fcd94
|
Run through indent, fix BB_ define
|
2002-08-22 18:13:54 +00:00 |
|
Glenn L McGrath
|
99b12543cf
|
Run through ident, fix comments
|
2002-08-22 17:47:09 +00:00 |
|
Glenn L McGrath
|
242e3b6bde
|
define inline if needed for ANSI C compatability
|
2002-08-22 15:59:18 +00:00 |
|
Glenn L McGrath
|
60a22addea
|
Remove unwanted comments, run through indent
|
2002-08-22 15:54:22 +00:00 |
|
Glenn L McGrath
|
a0ee881ba4
|
Run through indent, use /* */ style comments, change extern to static
|
2002-08-22 13:44:08 +00:00 |
|
Glenn L McGrath
|
4176972db5
|
Run through indent, use /* */ style comments
|
2002-08-22 13:25:12 +00:00 |
|
Glenn L McGrath
|
d827e8b665
|
Run through indent
|
2002-08-22 13:21:26 +00:00 |
|
Glenn L McGrath
|
b37367aa77
|
Run through indent, use /* */ style comments instead of //
|
2002-08-22 13:12:40 +00:00 |
|
Glenn L McGrath
|
f853db54f9
|
Remove definition of is_octal and is_decimal, they arent used
|
2002-08-22 12:55:26 +00:00 |
|
Glenn L McGrath
|
75762705a3
|
Honour the USTAR prefix field, this enables a 155 byte path length plus the normal 100 byte filename.
The catch is gnu tar cannot create archives that use the prefix field, you need to use s-tar.
|
2002-08-22 11:50:31 +00:00 |
|
Glenn L McGrath
|
419eed7501
|
udhcpc sample scripts
|
2002-08-21 14:24:38 +00:00 |
|
Glenn L McGrath
|
d9768d7cb9
|
Disable debugging
|
2002-08-21 11:44:31 +00:00 |
|
Glenn L McGrath
|
8eb0dc1d10
|
New applet, udhcp client
|
2002-08-21 10:27:58 +00:00 |
|
Glenn L McGrath
|
3d184586a7
|
Fix dietlibc test condition
|
2002-08-15 03:29:56 +00:00 |
|
Glenn L McGrath
|
1d23f3a492
|
Enable support for the old tar header format, enable via menu's
|
2002-08-13 05:06:43 +00:00 |
|
Glenn L McGrath
|
a94a06a38e
|
Patch from Randolfe Averty to fixup package conflict checks, cleanup some memory leaks and reorganise dependency checking.
Some further memory leaks fixed by me.
|
2002-05-29 13:45:34 +00:00 |
|
Glenn L McGrath
|
02a415606c
|
Parse the include list to writeTarFile rather than argv, fixes a bug where tar files wernt being created.
|
2002-02-15 05:15:03 +00:00 |
|
Glenn L McGrath
|
8833a51781
|
Fix condition that prevented creation of compressed files
|
2002-02-13 03:32:11 +00:00 |
|
Glenn L McGrath
|
87ac7028e0
|
unzip applet by Laurence Anderson
----------------------------------------------------------------------
|
2002-01-02 13:52:26 +00:00 |
|
Glenn L McGrath
|
249f39a265
|
Simplify unzip(), remove unused checks and unneccessary variables
|
2001-12-05 16:01:02 +00:00 |
|
Glenn L McGrath
|
ef03dbcd4d
|
Simplify CRC table generation
|
2001-12-05 13:08:03 +00:00 |
|
Glenn L McGrath
|
aad44fb37a
|
Fix some fegfaults and picket fence
|
2001-12-05 04:40:52 +00:00 |
|
Glenn L McGrath
|
1dbbd2fe34
|
Fail gracefully if package depends on a virtual package.
|
2001-12-05 04:10:14 +00:00 |
|
Glenn L McGrath
|
38288bbf4c
|
gunzip was incorrectly reporting a failed crc and length (discovered by
Chang, Shu-Hao). The bitbuffer needs to be unwound after decompression,
as it was eating into the crc/size field.
|
2001-11-29 06:36:56 +00:00 |
|
Glenn L McGrath
|
9e6c9f7311
|
Minor space saving improvments
|
2001-11-21 12:46:36 +00:00 |
|
Glenn L McGrath
|
74afa9aed1
|
When just counting chars of a file stat file instead of reading the whole file (Fixes Debian bug #103302)
|
2001-11-21 10:26:28 +00:00 |
|
Glenn L McGrath
|
c29ab97094
|
woops. dotn pass NULL
|
2001-11-21 10:01:29 +00:00 |
|
Glenn L McGrath
|
1477ad8e83
|
Simplify print function, prints an extra space if no filename, but saves 4 bytes
|
2001-11-21 09:58:29 +00:00 |
|
Glenn L McGrath
|
02d090d3d2
|
Use enums for selected functionality, Reduce the size by nearly 100 Bytes
|
2001-11-21 09:17:00 +00:00 |
|
Glenn L McGrath
|
fff11f1ab7
|
bzcat and bunzip -c support from Thomas Lundquist
|
2001-11-18 14:20:25 +00:00 |
|
Glenn L McGrath
|
0a25b35c66
|
Fix create list segfault
|
2001-11-03 08:29:35 +00:00 |
|
Glenn L McGrath
|
55b2deda08
|
Required for od and hexdump applets
|
2001-11-02 11:40:44 +00:00 |
|
Glenn L McGrath
|
60281118d0
|
Introduce od and hexdump applets
|
2001-11-02 11:39:46 +00:00 |
|
Glenn L McGrath
|
9af363fe20
|
include unistd which provides off_t for the header and hence unarchive applets
|
2001-10-27 14:10:37 +00:00 |
|
Glenn L McGrath
|
7134d6581b
|
Attempt to fix libc compiling error regarding off_t
|
2001-10-27 13:14:52 +00:00 |
|
Glenn L McGrath
|
ee28362597
|
Menu entry for tar creation support
|
2001-10-25 18:37:41 +00:00 |
|
Glenn L McGrath
|
107c796e79
|
Recovery from previous commit
|
2001-10-25 15:01:10 +00:00 |
|
Glenn L McGrath
|
9f2f8540c5
|
rEcover from my previous commit
|
2001-10-25 14:59:48 +00:00 |
|
Glenn L McGrath
|
e9fc781570
|
libunarchive, and recovery from my previous commit
|
2001-10-25 14:57:14 +00:00 |
|
Glenn L McGrath
|
633f153808
|
Move libbb/unarchive functions to ./archival/libunarchive
|
2001-10-25 14:53:50 +00:00 |
|
Glenn L McGrath
|
ef0eab514d
|
Recovering from my previous commit
|
2001-10-25 14:49:48 +00:00 |
|
Glenn L McGrath
|
0d2fb76c11
|
Modify applets to use libunarchive
|
2001-10-25 14:26:05 +00:00 |
|
Glenn L McGrath
|
95ebf618b7
|
*** empty log message ***
|
2001-10-25 14:18:08 +00:00 |
|
Glenn L McGrath
|
6ccdd8c122
|
Abort if scripts return value != 0
|
2001-10-23 17:52:28 +00:00 |
|
Glenn L McGrath
|
4bef7b4186
|
unarchive function changed to support both exclude and include lists, applets that use unarchive changed to match.
|
2001-10-13 19:43:46 +00:00 |
|
Glenn L McGrath
|
051eee6ed3
|
Reverse part of previous change.... i think it was the wrong approach... im lost
|
2001-10-13 07:11:03 +00:00 |
|
Glenn L McGrath
|
d642a67928
|
Match subdirectories of included/excluded files
|
2001-10-13 06:54:45 +00:00 |
|
Glenn L McGrath
|
527880e5cf
|
match exclude/include names with trailing '/'
|
2001-10-13 06:53:34 +00:00 |
|
Glenn L McGrath
|
b5937d3eea
|
Use fnmatch() to compare excluded/included files
|
2001-10-13 06:21:32 +00:00 |
|
Glenn L McGrath
|
0e766183ee
|
Superficial changes to make the exclude/include code easier to understand
|
2001-10-13 05:03:29 +00:00 |
|
Glenn L McGrath
|
9b2589dafd
|
Cleanup memory usage properly
|
2001-10-08 13:10:12 +00:00 |
|