aboutsummaryrefslogtreecommitdiff
path: root/libbb
AgeCommit message (Collapse)Author
2001-09-11Commit my changes to arith.c which fixed a couple of bugs and decreasedManuel Novoa III
code size. Please read the TODO comments regarding accessing shell variables from the arith() funciton.
2001-08-28Use the correct buffer when calling dirname, improve an error message, andMatt Kraai
plug some memory leaks. Patch by Laurence Anderson.
2001-08-24Eliminate improper consts and allow standard version to override.Matt Kraai
2001-08-24Canonicalize dirname(3) behavior.Matt Kraai
2001-08-24Fix a memory leak if parent directory creation failed.Matt Kraai
2001-08-22Add #include <sys/param.h> to ensure PATH_MAX is definedEric Andersen
2001-08-21dfp might be used uninitialized. NULL it.Eric Andersen
2001-08-14Rewritten by Manuel Novoa III.Matt Kraai
2001-08-10Commit Vladimir's simplify_path.Matt Kraai
2001-08-04Fix exclude list handlingGlenn L McGrath
2001-08-02More libc5 fixupsEric Andersen
-Erik
2001-08-02Some libc5 cleanupsEric Andersen
2001-08-02make_directory used mode as if it were an signed entity, but in factEric Andersen
it was a mode_t which is unsigned. Fix it to be signed... -Erik
2001-08-02Oops. I forgot to commit this part of vodz' patch.Eric Andersen
2001-08-02Latest patch from vodz. Adds a check for divide by zero in the posixEric Andersen
math suport, cleaner math syntax error checking, moves redundant signal string tables (from kill and ash) into libbb and provides a few cleanups elsewhere.
2001-07-30This incorporates Posix math support into ash. The Posix math supportEric Andersen
was written by Aaron Lehmann <aaronl@vitelus.com> for busybox. This patch makes a few trivial changes to Aaron's code so that it can be used (in theory) by the other shells as well... -Erik
2001-07-23Add support for devfs device names.Matt Kraai
2001-07-22Some patches to make dietlibc work...Eric Andersen
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