Eric Andersen
ba35b98444
Fix a potential warning
2000-09-21 04:05:38 +00:00
Eric Andersen
d2f5677762
Add in exec support (patch from Torbj?rn Axelsson <torax@cendio.se>)
...
and disable backticks (since they are still wierdly broken in some
cases.
2000-09-21 02:48:07 +00:00
Eric Andersen
d1de4a16ad
Handle 'cat -'
2000-09-21 02:39:50 +00:00
Eric Andersen
f34aa4c378
Hard code the name of init.
2000-09-21 02:32:11 +00:00
Eric Andersen
8a2e56c5df
Large file >2Gib support.
2000-09-21 02:23:30 +00:00
Eric Andersen
350b3f9236
Typo fix.
2000-09-21 02:06:35 +00:00
Eric Andersen
ae22612792
Ignore loop.h
2000-09-21 02:05:43 +00:00
Eric Andersen
624cc771da
More portable handling of loop header files, as done in util-linux
2000-09-21 02:04:51 +00:00
Eric Andersen
8847b9a03a
Remove a warning. Patch from Bryan Rittmeyer <bryan@ixiacom.com>
2000-09-21 01:33:05 +00:00
Matt Kraai
7c22b77162
Only remove directories when removing recursively.
2000-09-20 23:10:21 +00:00
Eric Andersen
cff3fe3ae9
Added dos2unix, unix2dos, and unrpm.c thanks to robotti@metconnect.com.
...
-Erik
2000-09-20 19:22:26 +00:00
Eric Andersen
0cccdfaf36
When mounting a ro fs rw, print warning and then mount it ro. Patch
...
from Dave Cinege.
-Erik
2000-09-20 06:23:36 +00:00
Matt Kraai
b938e2ff99
Return failure if ping gets no response.
2000-09-20 04:33:30 +00:00
Eric Andersen
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
2000-09-19 21:35:14 +00:00
Eric Andersen
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
2000-09-19 21:13:55 +00:00
Eric Andersen
06f64b2370
I think these featires are fairly safe...
...
-Erik
2000-09-19 07:16:39 +00:00
Matt Kraai
0b2da467a8
Avoid segfaults by not using snprintf to copy strings.
2000-09-19 06:46:44 +00:00
Matt Kraai
721119e1db
Clean up output.
2000-09-19 05:25:12 +00:00
Glenn L McGrath
cd26ff4eac
Only defines functions that will compile and are usefull under the
2000-09-19 02:25:36 +00:00
Eric Andersen
252bacc9ea
Apply a patch from Chip Rosenthal <chip@unicom.com> to fix NFS mounting,
...
which had been inadvertantly broken...
-Erik
2000-09-19 01:21:13 +00:00
Glenn L McGrath
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.
2000-09-18 10:20:16 +00:00
Glenn L McGrath
38c8551cf2
Path count was out by one, fixed it
2000-09-18 09:52:03 +00:00
Glenn L McGrath
63dde9d4ce
Simplify and remove dependence on PATH_MAX
...
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.
2000-09-18 09:37:40 +00:00
Matt Kraai
b2f36af157
Updated stdin/stdout treatment to match that of gnu tar.
2000-09-15 22:47:34 +00:00
Matt Kraai
6fc2a7d04d
Reorganize listing code.
2000-09-15 22:23:41 +00:00
Matt Kraai
82cfbad216
Allow non-verbose listing to work.
2000-09-15 21:18:43 +00:00
Pavel Roskin
c9db2e8665
Updated to be in sync with the current sample inittab
2000-09-15 17:24:13 +00:00
Pavel Roskin
d2d3aa39ef
Fixed compliance with the DTD
2000-09-15 17:16:40 +00:00
John Beppu
2aee993118
+ credit markw@lineo.com for his contributions
2000-09-15 08:04:42 +00:00
Pavel Roskin
f5cf8c6c65
Don't suppress output of umount and swapoff - it is both unwise
...
and incompatible with lash that doesn't support >&1 yet.
2000-09-15 01:34:17 +00:00
Pavel Roskin
33bee33af0
Don't suppress output of umount and swapoff - it is both unwise
...
and incompatible with lash that doesn't support >&1 yet.
2000-09-15 01:02:50 +00:00
Pavel Roskin
5f84fd7066
"exit NUMBER" should exit, not return
2000-09-15 00:46:51 +00:00
Pavel Roskin
cbe05e45db
For "askfirst" don't just read one char from stdin,
...
read the whole line using getc(), so that everything before Enter
gets discarded.
2000-09-14 22:47:29 +00:00
Eric Andersen
7e3bf6e339
Add in a patch from robotti@metconnect.com and Chip Rosenthal to make
...
init do login shell stuff.
-Erik
2000-09-14 22:01:31 +00:00
Eric Andersen
ce40fc044b
Note the syslogd bug fix
2000-09-14 21:56:18 +00:00
Eric Andersen
5d63884a8f
Bug fix for wget, and proper attribution of Chip Rosenthal and
...
Covad Communications for the contribution of wget.
-Erik
2000-09-14 21:46:30 +00:00
Eric Andersen
31e6829bd8
Fix the halt/reboot/poweroff segfault when used from within an initrd...
...
-Erik
2000-09-14 21:12:20 +00:00
Matt Kraai
131241f71c
Backslashes shouldn't be treated as backticks.
2000-09-14 00:43:20 +00:00
Matt Kraai
cbbe4d6bc2
Copy the string terminator.
2000-09-14 00:26:50 +00:00
Glenn L McGrath
56a328810b
Fix looping bug, use fullRead
2000-09-13 23:08:07 +00:00
Eric Andersen
b4c3c59a45
Add in BasicLinux by request
2000-09-13 23:06:41 +00:00
Pavel Roskin
f8e04f7113
Added _install
2000-09-13 16:52:32 +00:00
Eric Andersen
fb6a50820c
Ensure forked processes always are on a controlling tty, so the
...
^C can be properly sent to /dev/console.
-Erik
2000-09-13 16:15:29 +00:00
Pavel Roskin
d39d120998
Make syslogd ignore SIGCLD only if SIGCLD is defined. This should fix SPARC.
...
Also ignore SIGCHLD - it must have been meant.
2000-09-13 14:14:29 +00:00
Pavel Roskin
5d513f7256
List of signals updated from util-linux-2.10o
...
Architecture names are no longer used - should now compile on SPARC
2000-09-13 14:03:48 +00:00
Matt Kraai
dd450a0ded
Don't fork for the . (source) command so that environment settings are
...
preserved.
2000-09-13 03:43:36 +00:00
Matt Kraai
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.
2000-09-13 02:46:14 +00:00
Matt Kraai
b89075298e
Fix unchecked calls to {m,c,re}alloc so that they print an error and
...
exit rather than segfaulting (what an improvement).
2000-09-13 02:08:21 +00:00
Pavel Roskin
23ad7f7f06
Typo fix: resolv -> resolve
2000-09-12 22:05:17 +00:00
Eric Andersen
ccb0a9ba88
Formatting cleanup patch from Bryan Rittmeyer <bryan@ixiacom.com>.
...
-Erik
2000-09-12 16:20:49 +00:00