aboutsummaryrefslogtreecommitdiff
path: root/libbb (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Remove unnecessary errno handling.kraai2001-11-121-5/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3669 69ca8d6d-28ef-0310-b511-8ec308f3f277
* I forgot to add these. Part of the patch from vodzandersen2001-11-101-0/+174
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3650 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Latest patch from vodz:andersen2001-11-102-193/+8
| | | | | | | | | | -- reverse resolve network name and cache in route and ifconfig applets, fix print nslookup server name if compile without uClibc, fix route crashe 'route add', fix warnings compile networking and pwd_grp applets git-svn-id: svn://busybox.net/trunk/busybox@3645 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Introduce od and hexdump appletsbug12001-11-022-1/+864
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3625 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Be extra pedantic about printing the correct type for an addressandersen2001-10-271-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3593 69ca8d6d-28ef-0310-b511-8ec308f3f277
* rEcover from my previous commitbug12001-10-251-7/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3586 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Move libbb/unarchive functions to ./archival/libunarchivebug12001-10-251-627/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3584 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Modify applets to use libunarchivebug12001-10-251-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3582 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Major rework of the directory structure and the entire build system.andersen2001-10-2461-720/+331
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@3561 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Accomodate older glibc, which also lacks the module syscallsandersen2001-10-241-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3560 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Return NULL if EOF is encountered before terminating_string.kraai2001-10-181-10/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3545 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Revert that change. As Matt Kraai rightly points out,andersen2001-10-181-1/+1
| | | | | | | | this is not a bug. What I was I thinking when I committed this. Doh! git-svn-id: svn://busybox.net/trunk/busybox@3542 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Scrub up some function prototypes.andersen2001-10-183-7/+5
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@3540 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Patch from Stefan Soucek <ssoucek@coactive.com> toandersen2001-10-181-1/+1
| | | | | | | ignore extra empty lines in fgets_str git-svn-id: svn://busybox.net/trunk/busybox@3536 69ca8d6d-28ef-0310-b511-8ec308f3f277
* unarchive function changed to support both exclude and include lists, ↵bug12001-10-132-19/+20
| | | | | | applets that use unarchive changed to match. git-svn-id: svn://busybox.net/trunk/busybox@3516 69ca8d6d-28ef-0310-b511-8ec308f3f277
* match exclude/include names with trailing '/'bug12001-10-131-2/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3513 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use fnmatch() to compare excluded/included filesbug12001-10-131-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3512 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Cleanup memory usage properlybug12001-10-081-3/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3501 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Free some variables after usebug12001-10-081-0/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3500 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Invert FILEUTILS_PRESERVE_SYMLINKS into FILEUTILS_DEREFERENCE.kraai2001-10-052-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3489 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix BB_FEATURE_MTAB_SUPPORT test (report and patch by Magnus Damm).kraai2001-10-041-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3487 69ca8d6d-28ef-0310-b511-8ec308f3f277
* List full path instead of relative path if prefix is specified (this was ↵bug12001-09-241-1/+1
| | | | | | supposed to be in last patch) git-svn-id: svn://busybox.net/trunk/busybox@3432 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Commit my changes to arith.c which fixed a couple of bugs and decreasedmjn32001-09-111-143/+253
| | | | | | | | code size. Please read the TODO comments regarding accessing shell variables from the arith() funciton. git-svn-id: svn://busybox.net/trunk/busybox@3410 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Use the correct buffer when calling dirname, improve an error message, andkraai2001-08-281-2/+5
| | | | | | | plug some memory leaks. Patch by Laurence Anderson. git-svn-id: svn://busybox.net/trunk/busybox@3375 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Eliminate improper consts and allow standard version to override.kraai2001-08-242-3/+7
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3352 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Canonicalize dirname(3) behavior.kraai2001-08-243-9/+17
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3350 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix a memory leak if parent directory creation failed.kraai2001-08-241-4/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3349 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add #include <sys/param.h> to ensure PATH_MAX is definedandersen2001-08-221-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3333 69ca8d6d-28ef-0310-b511-8ec308f3f277
* dfp might be used uninitialized. NULL it.andersen2001-08-211-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3323 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Rewritten by Manuel Novoa III.kraai2001-08-141-39/+28
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3283 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Commit Vladimir's simplify_path.kraai2001-08-102-0/+79
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3240 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix exclude list handlingbug12001-08-041-7/+18
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3210 69ca8d6d-28ef-0310-b511-8ec308f3f277
* More libc5 fixupsandersen2001-08-022-9/+77
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@3195 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Some libc5 cleanupsandersen2001-08-021-2/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3194 69ca8d6d-28ef-0310-b511-8ec308f3f277
* make_directory used mode as if it were an signed entity, but in factandersen2001-08-022-2/+2
| | | | | | | | it was a mode_t which is unsigned. Fix it to be signed... -Erik git-svn-id: svn://busybox.net/trunk/busybox@3192 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Oops. I forgot to commit this part of vodz' patch.andersen2001-08-021-0/+166
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3183 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Latest patch from vodz. Adds a check for divide by zero in the posixandersen2001-08-023-12/+27
| | | | | | | | | math suport, cleaner math syntax error checking, moves redundant signal string tables (from kill and ash) into libbb and provides a few cleanups elsewhere. git-svn-id: svn://busybox.net/trunk/busybox@3181 69ca8d6d-28ef-0310-b511-8ec308f3f277
* This incorporates Posix math support into ash. The Posix math supportandersen2001-07-302-0/+252
| | | | | | | | | | 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 git-svn-id: svn://busybox.net/trunk/busybox@3165 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add support for devfs device names.kraai2001-07-232-4/+32
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3136 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Some patches to make dietlibc work...andersen2001-07-221-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3134 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Some adjustments, mostly from David McCullough <davidm@lineo.com> toandersen2001-07-192-4/+7
| | | | | | | | | | 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 git-svn-id: svn://busybox.net/trunk/busybox@3130 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Change read_package_field interface, and rewrite using low level functionsbug12001-07-182-14/+78
| | | | | | | Fixes for a few bugs that have crept into dpkg in the last few days git-svn-id: svn://busybox.net/trunk/busybox@3122 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix extract_archive so it doesnt mangle filenames, dont try and extract "./" ↵bug12001-07-181-3/+6
| | | | | | and strip leading "./" on other files git-svn-id: svn://busybox.net/trunk/busybox@3121 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fail silently on failure to read tar header, its unfortunate that many tar ↵bug12001-07-181-1/+3
| | | | | | | | | implementations must be adding unwanted crap to the end of their archives. It makes error reporting here more trouble than its worth git-svn-id: svn://busybox.net/trunk/busybox@3116 69ca8d6d-28ef-0310-b511-8ec308f3f277
* This is vodz' latest patch. Sorry it took so long...andersen2001-07-171-10/+6
| | | | | | | | | | | | 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) git-svn-id: svn://busybox.net/trunk/busybox@3103 69ca8d6d-28ef-0310-b511-8ec308f3f277
* enum entry for unarchive to be used by tarbug12001-07-141-1/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3098 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Allow the unarchive() extract_list variable to be NULL, meaning extract allbug12001-07-141-16/+12
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3097 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Return NULL if file doesnt open in deb_extractbug12001-07-131-1/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3093 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Make sure there is a trailing '\0' when extracting to buffer.bug12001-07-131-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@3092 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Dont setvbuff in here, must be called just after stream is initialised, ↵bug12001-07-131-3/+0
| | | | | | glibc tolerates using it later, uclibc doesnt git-svn-id: svn://busybox.net/trunk/busybox@3091 69ca8d6d-28ef-0310-b511-8ec308f3f277