summaryrefslogtreecommitdiff
path: root/libbb
AgeCommit message (Collapse)Author
2001-07-19Some adjustments, mostly from David McCullough <davidm@lineo.com> toEric Andersen
make busybox be more uClinux friendly. I also adjusted Config.h for uClinux so it will automagically disable apps the arn't going to work without fork() and such. -Erik
2001-07-18Change read_package_field interface, and rewrite using low level functionsGlenn L McGrath
Fixes for a few bugs that have crept into dpkg in the last few days
2001-07-18Fix extract_archive so it doesnt mangle filenames, dont try and extract "./" ↵Glenn L McGrath
and strip leading "./" on other files
2001-07-18Fail silently on failure to read tar header, its unfortunate that many tar ↵Glenn L McGrath
implementations must be adding unwanted crap to the end of their archives. It makes error reporting here more trouble than its worth
2001-07-17This is vodz' latest patch. Sorry it took so long...Eric Andersen
1) ping cleanup (compile fix from this patch already applied). 2) traceroute call not spare ntohl() now (and reduce size); 3) Fix for functions not declared static in insmod, ash, vi and mount. 4) a more simple API cmdedit :)) 5) adds "stopped jobs" warning to ash on Ctrl-D and fixes "ignoreeof" option 6) reduce exporting library function index->strchr (traceroute), bzero->memset (syslogd)
2001-07-14enum entry for unarchive to be used by tarGlenn L McGrath
2001-07-14Allow the unarchive() extract_list variable to be NULL, meaning extract allGlenn L McGrath
2001-07-13Return NULL if file doesnt open in deb_extractGlenn L McGrath
2001-07-13Make sure there is a trailing '\0' when extracting to buffer.Glenn L McGrath
2001-07-13Dont setvbuff in here, must be called just after stream is initialised, ↵Glenn L McGrath
glibc tolerates using it later, uclibc doesnt
2001-07-13Move setvbuf calls from gz_open() to calling functions, setvbuf is only ↵Glenn L McGrath
supposed to be called prior to opening the stream, glibc tolerates later use, uclibc doesnt.
2001-07-12Patch from vodz:Eric Andersen
Changed email address cmdedit API change optimizations for traceroute and md5sum added a new shared create_icmp_socket() function
2001-07-12Quiet mode, sometimes error messages arent wantedGlenn L McGrath
2001-07-11Allow unarchive to redirect stdout (tobe used by dpkg applet)Glenn L McGrath
2001-07-11Fix bug where it wasnt returning the last line of a multiline fieldGlenn L McGrath
2001-07-11Reverse part of my previous changesGlenn L McGrath
2001-07-11free coniditionally, just to make it play nice with dmalloc which is ↵Glenn L McGrath
incompatable with standard free()
2001-07-11minor dmalloc inspired cleanupsGlenn L McGrath
2001-07-07Avoid a segfault (detected by Fabio FerrariEric Andersen
<fabio.ferrari@digitro.com.br> in the wget applet) when concat_path_file() or last_char_is() were fed a NULL. -Erik
2001-07-05Removed obsolete function, strdup_substr.Matt Kraai
2001-07-05Fix a stupid thinko, and fix killall to cope with the updatedEric Andersen
find_pid_by_name() interface -Erik
2001-07-05Implement suggestion from Adam Slattery, (don't default to killing closing ↵Eric Andersen
bug #1190.
2001-06-30Generalize comment -- no longer ls specificEric Andersen
2001-06-30All-integer version (but it does use an unsigned long long) which fixesManuel Novoa III
the problems of the previous version (used floating point, overflowed, didn't round properly). The comments at the top of the file are worth reading; especially note 2 concerning "ls -sh".
2001-06-29Add some missing includes to kill warnings when building with the defaultManuel Novoa III
Config.h and using gcc's -fno-builtin. There are probably other files with the similar problems. Also, if building against uClibc, don't include asm/unistd.h in syscalls.c and module_syscalls.c.
2001-06-28Allow xrealloc to act as a free() when size=0, per SuS2.Eric Andersen
-Erik
2001-06-27Fix a type promotion bug discivered and analyzed by Alan ModraEric Andersen
<amodra@bigpond.net.au>, which caused false checksum errors
2001-06-26Make it so we don't segfault when /proc isn't mounted -- guess pid 1...Eric Andersen
-Erik
2001-06-26Don't use void * to pass pointers of known typeEric Andersen
2001-06-26Vladimir's last_patch_15Glenn L McGrath
2001-06-24Nore unarchive (and doc) fixes from Laurence AndersonGlenn L McGrath
2001-06-22cpio applet, and changes to associated codeGlenn L McGrath
2001-06-22Remove obsolete function declaration.Matt Kraai
2001-06-22stdlib.h defined free(), which this needsEric Andersen
2001-06-22Fix the build process so it does not do the evil #ifdef BB_FOO stuff.Eric Andersen
Build exactly one .o file per function, and let the linker throw away the junk it doesn't want. -Erik
2001-06-22Add in a missing header fileEric Andersen
2001-06-22Dont change date or chmod on symlinks, lchown on symlinks if lchown availableGlenn L McGrath
2001-06-22remove defines around unarchive, its always usedGlenn L McGrath
2001-06-22comment cleanupTim Riker
2001-06-22create_path -> make_directoryTim Riker
2001-06-21Rewrote mkdir (and touched lots of things in the process).Matt Kraai
2001-06-20Reorganise unarchiving functions, more code re-use, only does single pass(no ↵Glenn L McGrath
more linked lists), basis for supporting a cpio (and cheaper untar) applet, but cpio applet isnt included in this. It effects ar, dpkg-deb applets only
2001-06-15With a bit of care I was able to save about 100 bytes.Eric Andersen
-Erik
2001-06-15This isnt used anymore, replaced by seek_sub_file() in ./libbb/deb_extract.cGlenn L McGrath
2001-06-13I reworked make_human_readable_str so it now has a sane interface,Eric Andersen
and then fixed up df, du, and ls to use the new interface. I also fixed up some formatting issues in ls while I was in there. -Erik
2001-06-13Reorganise unarchive functions, new files, removed someGlenn L McGrath
2001-06-13Reorganise archive extraction codeGlenn L McGrath
2001-06-11Copy files until EOF, not the reported file size, to deal with bad sizes inMatt Kraai
the proc filesystem.
2001-06-08Add padding to struct sysinfo needed by m68k (note and patch by RichardMatt Kraai
Hirst).
2001-06-01Vladimir's last_patch13, containing several bugfixes.Eric Andersen