1
0
mirror of synced 2026-10-29 06:12:57 +03:00

Commit Graph

  • f34aa4c378 Hard code the name of init. Eric Andersen 2000-09-21 02:32:11 +00:00
  • 8a2e56c5df Large file >2Gib support. Eric Andersen 2000-09-21 02:23:30 +00:00
  • 350b3f9236 Typo fix. Eric Andersen 2000-09-21 02:06:35 +00:00
  • ae22612792 Ignore loop.h Eric Andersen 2000-09-21 02:05:43 +00:00
  • 624cc771da More portable handling of loop header files, as done in util-linux Eric Andersen 2000-09-21 02:04:51 +00:00
  • 8847b9a03a Remove a warning. Patch from Bryan Rittmeyer <bryan@ixiacom.com> Eric Andersen 2000-09-21 01:33:05 +00:00
  • 7c22b77162 Only remove directories when removing recursively. Matt Kraai 2000-09-20 23:10:21 +00:00
  • cff3fe3ae9 Added dos2unix, unix2dos, and unrpm.c thanks to robotti@metconnect.com. -Erik Eric Andersen 2000-09-20 19:22:26 +00:00
  • 0cccdfaf36 When mounting a ro fs rw, print warning and then mount it ro. Patch from Dave Cinege. -Erik Eric Andersen 2000-09-20 06:23:36 +00:00
  • b938e2ff99 Return failure if ping gets no response. Matt Kraai 2000-09-20 04:33:30 +00:00
  • 46a98dfb13 Reverted my conversion of tar to getopt to ensure tar can handle traditional semantics (i.e. 'tar -xvf -' or 'tar xvf' now both work). -Erik Eric Andersen 2000-09-19 21:35:14 +00:00
  • 56f3e353da Both of these commands were subtly broken. Fortunately when used together the damage was only ugly fscks. Reverted to the static inline code so they work correctly again, -Erik Eric Andersen 2000-09-19 21:13:55 +00:00
  • 06f64b2370 I think these featires are fairly safe... -Erik Eric Andersen 2000-09-19 07:16:39 +00:00
  • 0b2da467a8 Avoid segfaults by not using snprintf to copy strings. Matt Kraai 2000-09-19 06:46:44 +00:00
  • 721119e1db Clean up output. Matt Kraai 2000-09-19 05:25:12 +00:00
  • cd26ff4eac Only defines functions that will compile and are usefull under the Glenn L McGrath 2000-09-19 02:25:36 +00:00
  • 252bacc9ea Apply a patch from Chip Rosenthal <chip@unicom.com> to fix NFS mounting, which had been inadvertantly broken... -Erik Eric Andersen 2000-09-19 01:21:13 +00:00
  • fd3741d712 Remove definition of basename. 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. Glenn L McGrath 2000-09-18 10:20:16 +00:00
  • 38c8551cf2 Path count was out by one, fixed it Glenn L McGrath 2000-09-18 09:52:03 +00:00
  • 63dde9d4ce Simplify and remove dependence on PATH_MAX Glenn L McGrath 2000-09-18 09:37:40 +00:00
  • b2f36af157 Updated stdin/stdout treatment to match that of gnu tar. Matt Kraai 2000-09-15 22:47:34 +00:00
  • 6fc2a7d04d Reorganize listing code. Matt Kraai 2000-09-15 22:23:41 +00:00
  • 82cfbad216 Allow non-verbose listing to work. Matt Kraai 2000-09-15 21:18:43 +00:00
  • c9db2e8665 Updated to be in sync with the current sample inittab Pavel Roskin 2000-09-15 17:24:13 +00:00
  • d2d3aa39ef Fixed compliance with the DTD Pavel Roskin 2000-09-15 17:16:40 +00:00
  • 2aee993118 + credit markw@lineo.com for his contributions John Beppu 2000-09-15 08:04:42 +00:00
  • f5cf8c6c65 Don't suppress output of umount and swapoff - it is both unwise and incompatible with lash that doesn't support >&1 yet. Pavel Roskin 2000-09-15 01:34:17 +00:00
  • 33bee33af0 Don't suppress output of umount and swapoff - it is both unwise and incompatible with lash that doesn't support >&1 yet. Pavel Roskin 2000-09-15 01:02:50 +00:00
  • 5f84fd7066 "exit NUMBER" should exit, not return Pavel Roskin 2000-09-15 00:46:51 +00:00
  • cbe05e45db For "askfirst" don't just read one char from stdin, read the whole line using getc(), so that everything before Enter gets discarded. Pavel Roskin 2000-09-14 22:47:29 +00:00
  • 7e3bf6e339 Add in a patch from robotti@metconnect.com and Chip Rosenthal to make init do login shell stuff. -Erik Eric Andersen 2000-09-14 22:01:31 +00:00
  • ce40fc044b Note the syslogd bug fix Eric Andersen 2000-09-14 21:56:18 +00:00
  • 5d63884a8f Bug fix for wget, and proper attribution of Chip Rosenthal and Covad Communications for the contribution of wget. -Erik Eric Andersen 2000-09-14 21:46:30 +00:00
  • 31e6829bd8 Fix the halt/reboot/poweroff segfault when used from within an initrd... -Erik Eric Andersen 2000-09-14 21:12:20 +00:00
  • 131241f71c Backslashes shouldn't be treated as backticks. Matt Kraai 2000-09-14 00:43:20 +00:00
  • cbbe4d6bc2 Copy the string terminator. Matt Kraai 2000-09-14 00:26:50 +00:00
  • 56a328810b Fix looping bug, use fullRead Glenn L McGrath 2000-09-13 23:08:07 +00:00
  • b4c3c59a45 Add in BasicLinux by request Eric Andersen 2000-09-13 23:06:41 +00:00
  • f8e04f7113 Added _install Pavel Roskin 2000-09-13 16:52:32 +00:00
  • fb6a50820c Ensure forked processes always are on a controlling tty, so the ^C can be properly sent to /dev/console. -Erik Eric Andersen 2000-09-13 16:15:29 +00:00
  • d39d120998 Make syslogd ignore SIGCLD only if SIGCLD is defined. This should fix SPARC. Also ignore SIGCHLD - it must have been meant. Pavel Roskin 2000-09-13 14:14:29 +00:00
  • 5d513f7256 List of signals updated from util-linux-2.10o Architecture names are no longer used - should now compile on SPARC Pavel Roskin 2000-09-13 14:03:48 +00:00
  • dd450a0ded Don't fork for the . (source) command so that environment settings are preserved. Matt Kraai 2000-09-13 03:43:36 +00:00
  • 322ae93a5e Fix calls to {m,c,re}alloc so that they use x{m,c,re}alloc instead of segfaulting or handling errors the same way themselves. Matt Kraai 2000-09-13 02:46:14 +00:00
  • b89075298e Fix unchecked calls to {m,c,re}alloc so that they print an error and exit rather than segfaulting (what an improvement). Matt Kraai 2000-09-13 02:08:21 +00:00
  • 23ad7f7f06 Typo fix: resolv -> resolve Pavel Roskin 2000-09-12 22:05:17 +00:00
  • ccb0a9ba88 Formatting cleanup patch from Bryan Rittmeyer <bryan@ixiacom.com>. -Erik Eric Andersen 2000-09-12 16:20:49 +00:00
  • fca8050f0f Fix .deb unpack and experimental TAR support Glenn L McGrath 2000-09-11 05:25:39 +00:00
  • ac19b7e032 Extra defines for ar Glenn L McGrath 2000-09-11 05:06:13 +00:00
  • 49352adf9c Simplify a few little things, and merge in a patch from robotti@metconnect.com so that 'ar -xv' and 'ar -x -v' both work. -Erik Eric Andersen 2000-09-11 04:55:31 +00:00
  • 605a819a17 New dd behaviour Glenn L McGrath 2000-09-11 00:33:09 +00:00
  • f0b073f55a dd now truncates files at the end its write, this can be turned of by specifying conv=notrunc in the command line Glenn L McGrath 2000-09-11 00:32:13 +00:00
  • de34e43755 MAke lsmod act just like modutils lsmod, by printing which modules use other modules, and state info like (deleted) and such. -Erik Eric Andersen 2000-09-10 16:16:00 +00:00
  • cbb61c78ae Make init handle current 2.4.x sysinfo behavior -Erik Eric Andersen 2000-09-10 16:13:41 +00:00
  • 73de6561ca Update free for current 2.4.x behavior... -Erik Eric Andersen 2000-09-10 16:10:41 +00:00
  • 729216cb11 Remove some debugging code Glenn L McGrath 2000-09-10 04:42:20 +00:00
  • 18310f1ce3 Using seek=? used to cause part of the original file to be zero'ed, i think this was caused by opening the file in truncate mode. Glenn L McGrath 2000-09-10 04:39:37 +00:00
  • 0ae8e5a645 My previous attempt to make dd use fullRead, fullWrite was very broken, this should actually work. Glenn L McGrath 2000-09-10 01:54:27 +00:00
  • bd7c67136a remove some printf statements i forgot about Glenn L McGrath 2000-09-09 15:04:34 +00:00
  • 1c6917d2c4 Updated to match new -R ar functionality Glenn L McGrath 2000-09-09 14:57:15 +00:00
  • e2b345a6d8 Implemented new ar functionality unique to busybox ar (i think), the -R option enable a Recursive extraction (or listing) to take place. Glenn L McGrath 2000-09-09 14:50:04 +00:00
  • 437bf72785 Changed getopt so that options can be grouped together, the source archive is now assumed to be the first non parameter. Glenn L McGrath 2000-09-09 13:38:26 +00:00
  • 6fb88e73f7 Fix permisions Glenn L McGrath 2000-09-09 12:48:40 +00:00
  • 8324b9f1aa Now supports GNU style long filenames. Glenn L McGrath 2000-09-09 08:35:45 +00:00
  • 11c655295c New ls sorting patch, as written by Sterling Huxley, and then updated by kent robotti. I then updated it to use my_getpwuid and my_getgrgid (per busybox policy). -Erik Eric Andersen 2000-09-07 17:24:47 +00:00
  • 44e3840343 Stop leaking file handles. Matt Kraai 2000-09-07 04:34:17 +00:00
  • 17c8851813 Fix more typos. Matt Kraai 2000-09-06 03:59:49 +00:00
  • 6085c72b6e Reset optind so that getopt works in busybox applets called directly by sh. Change the behavior of -c to correctly handle $1..$9. Matt Kraai 2000-09-06 01:46:18 +00:00
  • 9dd79791c8 Fixed a grammatical error. Matt Kraai 2000-09-06 00:50:51 +00:00
  • ebee301c8b Fixed for when BB_CP_MV is enabled. Eric Andersen 2000-09-05 22:17:22 +00:00
  • d13ebff163 Add BB_SH to get_last_path_component()... Fix thanks to Bj�rn Eriksson. Eric Andersen 2000-09-05 21:50:52 +00:00
  • 1eec89df4c Apply segfault on no-args fix from robotti@metconnect.com Eric Andersen 2000-09-05 18:21:53 +00:00
  • 3639c5d950 Set environment variable to make ash happy. ash is a frequent enough target.... Eric Andersen 2000-09-05 17:57:52 +00:00
  • 1b355ebba6 Added expr, from Edward Betts <edward@debian.org>, with some fixups and docs added by me. -Erik Eric Andersen 2000-09-05 17:37:48 +00:00
  • 43c8c38bbf Allow compilation when not using BB_FEATURE_TAR_EXCLUDE, and fix handling of --exclude option. Matt Kraai 2000-09-04 16:51:55 +00:00
  • 61a9d8d145 Forgot this part of wget Eric Andersen 2000-09-04 15:16:51 +00:00
  • 9670083818 Initial implementation of wget, from Chip Rosenthal <chip@laserlink.net>. Very cool. Still lacks "chunked" transfer-coding, so not totally RFC compliant for HTTP1.1, but very nice nonethe less, and very small. -Erik Eric Andersen 2000-09-04 15:15:55 +00:00
  • b92223b6f5 Allow selective extraction and listing of files. And fix an unchecked return value of realloc (with xrealloc). Matt Kraai 2000-09-04 08:25:42 +00:00
  • fd50c3d2f9 Add in byld Eric Andersen 2000-09-01 22:24:03 +00:00
  • cb91d69b3f Fix compile when BB_FEATURE_LINUXRC is defined -Erik Eric Andersen 2000-09-01 18:43:02 +00:00
  • 73bdf13d35 Fixed a stupid thinko preventing zcat from doing its job, thanks to Torbj�rn Axelsson <torax@cendio.se> for the fix. -Erik Eric Andersen 2000-09-01 16:25:33 +00:00
  • 3a957b9d4c Turned off ls file-sorting till it can be fixed. Eric Andersen 2000-09-01 16:15:51 +00:00
  • 18a1014c95 updated some usage info from a patch from robotti@metconnect.com -Erik Eric Andersen 2000-09-01 16:12:57 +00:00
  • da542f3a0c Argh. I *will* compile before checking in. Matt Kraai 2000-09-01 02:53:01 +00:00
  • f446297afd Don't unlink files if we are extracting to stdout. Matt Kraai 2000-09-01 02:50:48 +00:00
  • e99674a70f Correct the stdin/stdout behavior when no args are provided. -Erik Eric Andersen 2000-09-01 00:41:10 +00:00
  • 5eb5912790 Sigh. Seems I screwed up last time. This fixed detecting when on a console or not, and make default behavior compatible with GNU gzip... -Erik Eric Andersen 2000-09-01 00:33:06 +00:00
  • 4e61db2284 Add an extra sanity check in parse_mode -Erik Eric Andersen 2000-09-01 00:06:17 +00:00
  • ad3d90f91e Fix a spelling error -Erik Eric Andersen 2000-08-31 23:53:58 +00:00
  • a3de24e85d Fix spelling error -Erik Eric Andersen 2000-08-31 23:52:46 +00:00
  • 1638488d26 Rewritten by mistake. Matt Kraai 2000-08-28 03:53:27 +00:00
  • ab60f6987a Removed dead regular expression code. Matt Kraai 2000-08-28 03:12:30 +00:00
  • 88cc3057fd Compile xstrdup and xstrndup iff they are needed. Matt Kraai 2000-08-26 16:52:28 +00:00
  • 06aeb6c417 ar.c now uses a linked list to process headers, uses getopt, new internal function extractAr(srcFD, dstFd, filename) to make it easily accessable to other busybox functions. Glenn L McGrath 2000-08-25 03:50:10 +00:00
  • 4d5ac2f346 Fix tab stops for sed usage. Eric Andersen 2000-08-25 00:23:36 +00:00
  • 3a0f4baf2f Fixed a warning about a label not being used Pavel Roskin 2000-08-22 15:47:57 +00:00
  • 8237add8d0 Fixed misuse of type "char" Pavel Roskin 2000-08-22 15:38:16 +00:00
  • 32f2769800 From Ken Chalmers <chalmers@norscan.com>: The current CVS mount.c is missing a semicolon, causing building to fail if NFS is enabled (#define BB_NFSMOUNT). Pavel Roskin 2000-08-22 15:35:31 +00:00
  • 089d12d762 Fix a unterminated string. -Erik Eric Andersen 2000-08-22 05:18:30 +00:00
  • aaa94fb8a9 Note the chmod fix. -Erik Eric Andersen 2000-08-22 01:02:05 +00:00