aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Remove definition of basename.bug12000-09-182-6/+0
| | | | | | | It was defined out so that it would never be seen, and if it was ever seen it wasnt used for anything. It also stops gunzip compiling under the Hurd. git-svn-id: svn://busybox.net/trunk/busybox@1065 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Path count was out by one, fixed itbug12000-09-182-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1064 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Simplify and remove dependence on PATH_MAXbug12000-09-182-62/+24
| | | | | | | | | buf[PATH_MAX] now defined using strlen to the exact size to be used. removed output that was displayed if which didnt find the command, this makes itmatch the behaviour of GNU's which. These modifications result in a slight size decrease. git-svn-id: svn://busybox.net/trunk/busybox@1063 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Updated stdin/stdout treatment to match that of gnu tar.kraai2000-09-152-18/+12
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1062 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Reorganize listing code.kraai2000-09-152-92/+94
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1061 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Allow non-verbose listing to work.kraai2000-09-152-10/+14
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1060 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Updated to be in sync with the current sample inittabproski2000-09-152-15/+19
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1059 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fixed compliance with the DTDproski2000-09-151-12/+17
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1058 69ca8d6d-28ef-0310-b511-8ec308f3f277
* + credit markw@lineo.com for his contributionsbeppu2000-09-153-1/+12
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1057 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Don't suppress output of umount and swapoff - it is both unwiseproski2000-09-152-4/+4
| | | | | | | and incompatible with lash that doesn't support >&1 yet. git-svn-id: svn://busybox.net/trunk/busybox@1056 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Don't suppress output of umount and swapoff - it is both unwiseproski2000-09-152-4/+4
| | | | | | | and incompatible with lash that doesn't support >&1 yet. git-svn-id: svn://busybox.net/trunk/busybox@1055 69ca8d6d-28ef-0310-b511-8ec308f3f277
* "exit NUMBER" should exit, not returnproski2000-09-153-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1054 69ca8d6d-28ef-0310-b511-8ec308f3f277
* For "askfirst" don't just read one char from stdin,proski2000-09-142-4/+2
| | | | | | | | read the whole line using getc(), so that everything before Enter gets discarded. git-svn-id: svn://busybox.net/trunk/busybox@1053 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add in a patch from robotti@metconnect.com and Chip Rosenthal to makeandersen2000-09-144-38/+134
| | | | | | | | init do login shell stuff. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1052 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Note the syslogd bug fixandersen2000-09-141-0/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1051 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Bug fix for wget, and proper attribution of Chip Rosenthal andandersen2000-09-144-16/+13
| | | | | | | | Covad Communications for the contribution of wget. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1050 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix the halt/reboot/poweroff segfault when used from within an initrd...andersen2000-09-141-15/+3
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@1049 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Backslashes shouldn't be treated as backticks.kraai2000-09-143-30/+33
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1048 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Copy the string terminator.kraai2000-09-143-3/+3
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1047 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix looping bug, use fullReadbug12000-09-132-4/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1046 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Add in BasicLinux by requestandersen2000-09-131-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1045 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Added _installproski2000-09-131-0/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1044 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Ensure forked processes always are on a controlling tty, so theandersen2000-09-132-2/+4
| | | | | | | | ^C can be properly sent to /dev/console. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1043 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Make syslogd ignore SIGCLD only if SIGCLD is defined. This should fix SPARC.proski2000-09-132-0/+6
| | | | | | | Also ignore SIGCHLD - it must have been meant. git-svn-id: svn://busybox.net/trunk/busybox@1042 69ca8d6d-28ef-0310-b511-8ec308f3f277
* List of signals updated from util-linux-2.10oproski2000-09-132-110/+152
| | | | | | | Architecture names are no longer used - should now compile on SPARC git-svn-id: svn://busybox.net/trunk/busybox@1041 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Don't fork for the . (source) command so that environment settings arekraai2000-09-133-3/+6
| | | | | | | preserved. git-svn-id: svn://busybox.net/trunk/busybox@1040 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix calls to {m,c,re}alloc so that they use x{m,c,re}alloc instead ofkraai2000-09-1325-108/+70
| | | | | | | segfaulting or handling errors the same way themselves. git-svn-id: svn://busybox.net/trunk/busybox@1039 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix unchecked calls to {m,c,re}alloc so that they print an error andkraai2000-09-133-48/+45
| | | | | | | exit rather than segfaulting (what an improvement). git-svn-id: svn://busybox.net/trunk/busybox@1038 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Typo fix: resolv -> resolveproski2000-09-122-2/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1037 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Formatting cleanup patch from Bryan Rittmeyer <bryan@ixiacom.com>.andersen2000-09-122-14/+14
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@1036 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix .deb unpack and experimental TAR supportbug12000-09-112-174/+356
| | | | | | | | | | | | The previous ar.c fialed to recognise one record in .debs Experimental tar support, this is currently *very* cheap because ar and tar are functionally similar. It will need lots of testing so by default tar support code is defined out. To test uncomment the line "#define BB_AR_EXPERIMENTAL_UNTAR" git-svn-id: svn://busybox.net/trunk/busybox@1034 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Extra defines for arbug12000-09-111-4/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1033 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Simplify a few little things, and merge in a patch fromandersen2000-09-112-22/+22
| | | | | | | | | robotti@metconnect.com so that 'ar -xv' and 'ar -x -v' both work. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1032 69ca8d6d-28ef-0310-b511-8ec308f3f277
* New dd behaviourbug12000-09-112-0/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1031 69ca8d6d-28ef-0310-b511-8ec308f3f277
* dd now truncates files at the end its write, this can be turned of bybug12000-09-112-6/+20
| | | | | | | | | specifying conv=notrunc in the command line This conforms to GNU dd behaviour git-svn-id: svn://busybox.net/trunk/busybox@1030 69ca8d6d-28ef-0310-b511-8ec308f3f277
* MAke lsmod act just like modutils lsmod, by printing which modules useandersen2000-09-102-0/+40
| | | | | | | | other modules, and state info like (deleted) and such. -Erik git-svn-id: svn://busybox.net/trunk/busybox@1029 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Make init handle current 2.4.x sysinfo behaviorandersen2000-09-102-24/+18
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@1028 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Update free for current 2.4.x behavior...andersen2000-09-102-42/+26
| | | | | | | -Erik git-svn-id: svn://busybox.net/trunk/busybox@1027 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Remove some debugging codebug12000-09-102-4/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1026 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Using seek=? used to cause part of the original file to be zero'ed, ibug12000-09-102-10/+8
| | | | | | | think this was caused by opening the file in truncate mode. git-svn-id: svn://busybox.net/trunk/busybox@1025 69ca8d6d-28ef-0310-b511-8ec308f3f277
* My previous attempt to make dd use fullRead, fullWrite was very broken,bug12000-09-102-26/+28
| | | | | | | this should actually work. git-svn-id: svn://busybox.net/trunk/busybox@1024 69ca8d6d-28ef-0310-b511-8ec308f3f277
* remove some printf statements i forgot aboutbug12000-09-092-6/+0
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1023 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Updated to match new -R ar functionalitybug12000-09-092-2/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1022 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Implemented new ar functionality unique to busybox ar (i think), the -Rbug12000-09-092-38/+30
| | | | | | | | | | | | | | | | | | option enable a Recursive extraction (or listing) to take place. i.e. if any files being extracted are themselves ar archives then busybox ar will extract their contents as well. e.g. take bar.deb and do (with GNU ar) ar -q foo.deb b.ar then with busybox ar can do ar -x b.ar data.tar.gz -R isnt used for anything in GNU ar so i think it should be ok, could have used long options This functionality will become (more) usufull with tar, gz support. git-svn-id: svn://busybox.net/trunk/busybox@1021 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Changed getopt so that options can be grouped together, the sourcebug12000-09-094-30/+26
| | | | | | | | | archive is now assumed to be the first non parameter. This is how GNU ar behaves. git-svn-id: svn://busybox.net/trunk/busybox@1020 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix permisionsbug12000-09-092-2/+4
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1019 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Now supports GNU style long filenames.bug12000-09-092-170/+360
| | | | | | | | | | | | | If no filenames are specifed to be (extracted/listed) it will act on all files in the archive (i dont think the old version did this) Code is structured to better support upcoming recursive extraction functionality. The old code was a bit strange in places, dont know what i was thinking. git-svn-id: svn://busybox.net/trunk/busybox@1018 69ca8d6d-28ef-0310-b511-8ec308f3f277
* New ls sorting patch, as written by Sterling Huxley, and then updatedandersen2000-09-076-980/+1394
| | | | | | | | | by kent robotti. I then updated it to use my_getpwuid and my_getgrgid (per busybox policy). -Erik git-svn-id: svn://busybox.net/trunk/busybox@1017 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Stop leaking file handles.kraai2000-09-072-0/+2
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1016 69ca8d6d-28ef-0310-b511-8ec308f3f277
* Fix more typos.kraai2000-09-061-1/+1
| | | | git-svn-id: svn://busybox.net/trunk/busybox@1015 69ca8d6d-28ef-0310-b511-8ec308f3f277