Age | Commit message (Collapse) | Author |
|
if any files that were specified in the list wernt found.
|
|
problems
|
|
the options.
|
|
-Erik
|
|
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.
|
|
|
|
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
|
|
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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?
|
|
error handling and prevent gunzip from hanging.
|
|
|
|
|
|
properly anyway, dont setvbuf it doesnt make any difference in performance.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
normal 100 byte filename.
The catch is gnu tar cannot create archives that use the prefix field, you need to use s-tar.
|
|
|
|
|
|
|
|
#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.
|
|
-Erik
|
|
on i386. also staticify most functions.
|
|
it does unless srcMode was set, and srcMode is never set.
|
|
still needs major attention (i.e. removal).
Removed references to uninitialized variables like progName,
smallMode, noisy, etc. Remove functions and code for handling "small"
decompression mode, since it is all unreachable. Remove
total_{in,out}* counters - they are never used. Remove panic()
function and assert_h and their uses because they are all for "should
never happen" circumstances. Replace internal malloc/free wrappers
with xmalloc and free. Remove conditional in if(foo)free(foo);
situations. Remove bogus
if (sizeof(int) != 4) {
return BZ_CONFIG_ERROR;
}
(...etc...) code and code for handling BZ_CONFIG_ERROR. Someone should
go through and change the applet to use well-defined types when
appropriate - it expects sizeof(short)==2 && sizeof(int)==4. Until
this commit these were explicitly checked for, and the applet would
exit if these types were not the right size. (I think this is wrong
even as an interim solution.)
With gcc 3.1 reduces size of binary on i386-linux by about 700 bytes.
Lightly tested.
|
|
memory leaks and reorganise dependency checking.
Some further memory leaks fixed by me.
|
|
(configurable) - When enabled an applet "uncompress" is also made
available (oddname to gunzip)
[the cvs add for this file got lost somehow...]
|
|
(configurable) - When enabled an applet "uncompress" is also made
available (oddname to gunzip)
|
|
Fixed a missing initialisation and made a for loop more readable.
|
|
This is the normal GNU gunzip behaviour
|
|
(gunzip_main): Handle no arguments correctly.
|
|
output.
* testsuite/bunzip2/bzcat-does-not-remove-compressed-file: New.
|
|
properly uncompress multiple files now.
-Erik
|
|
better tape drive support in tar/cpio by using an intervening
pipe...
|
|
|
|
the busybox development tree. This eliminates the use of recursive make, and
once again allows us to run 'make' in a subdirectory with the expected result.
And things are now much faster too. Greatly improved IMHO...
-Erik
|
|
|
|
* testsuite/bunzip2/bunzip2-removes-compressed-file: New.
|
|
(bunzip2_main): Read data from standard input if FILE argument is `-' or
omitted.
* include/usage.h (bunzip2_trivial_usage, bunzip2_full_usage): Rewrite.
* testsuite/bunzip2/bunzip2-reads-from-standard-input: New.
|