Rob Landley
3c12ff7c89
If /tmp and /home were different partitions, then "mv /tmp/file /home/file"
...
would delete /home/file even if /tmp/file didn't exist.
This fixes that, although the logic of both mv and cp is a bit tangled and
should probably be untangled.
2005-07-20 00:45:40 +00:00
Paul Fox
c337d29550
applying fix for:
...
0000117: Remove linefeed after overwrite prompt using cp -i
User input not on the same line as the prompt when about to
overwrite a file.
2005-07-19 21:31:05 +00:00
Paul Fox
146e83a60e
applying fix from:
...
0000108: busyboxy/networking/ftpgetput.c not conforming to
RFC 959. ftpget and ftpput send <LF> as EOL.
2005-07-19 21:26:57 +00:00
Paul Fox
127adc559f
applying fix from;
...
0000092: looks like the initializer for .need_suid was missing.
2005-07-19 21:21:58 +00:00
Paul Fox
deac371690
applying fix from:
...
0000088: inetd chargen stream does not generate the
characters as recommended in RFC 864
Chragen service is generating garbage characters.
2005-07-19 21:19:20 +00:00
Paul Fox
3f6f3174e9
applying fix from:
...
0000068: mount limited to max 8 loop devices (patch provided)
(made minor wording change for config help message)
2005-07-19 20:55:37 +00:00
Paul Fox
0a92bbf349
applying fix from:
...
0000067: cp -p produces misleading error message
2005-07-19 20:47:33 +00:00
Paul Fox
574fee4f99
applying:
...
0000054: Tab completing filenames in ash causes SEGV
Simple tab completion operations cause busybox (ash) to
access illegal addresses.
2005-07-19 20:41:06 +00:00
Paul Fox
b270315b21
applying fix for:
...
0000045: traceroute causes an alignment trap due to unaligned buffer on arm
2005-07-19 20:37:15 +00:00
Eric Andersen
90161c9213
Fixup makedevs to handle regular files, and also fix
...
it to properly update file permissions as specified.
2005-07-18 22:40:59 +00:00
Paul Fox
7b71d740b9
fix for "0000027: patch: nc will spin if stdin closed"
2005-07-18 22:23:16 +00:00
Paul Fox
d13b90b9e8
allow both ^H and DEL to backspace in insert mode (bug #23 )
2005-07-18 22:17:25 +00:00
Eric Andersen
0ef24c672a
Fix vi so that error messages, insert mode messages, etc are
...
all actually displayed in the status line as expected
2005-07-18 10:32:59 +00:00
Eric Andersen
2ada89b60f
a bit more polish
2005-07-18 09:45:35 +00:00
Eric Andersen
54e57da96a
a bit of polish on makedevs
2005-07-18 09:42:37 +00:00
Eric Andersen
1b7058c653
the makedevs config option was pretty much totally broken
2005-07-18 09:36:49 +00:00
Eric Andersen
e8614dbcd7
Fixup device table based makedevs so it actually works
2005-07-18 09:28:36 +00:00
Mike Frysinger
10427ab528
move var decls around a little to help gcc make smaller code
2005-07-06 05:00:48 +00:00
Mike Frysinger
e548bdff96
2005-07-04 Shaun Jackman <sjackman@gmail.com>
...
* init/init.c: Do not include sys/mount.h.
(message): Use O_NONBLOCK instead of O_NDELAY.
(console_init): Ditto.
2005-07-06 04:46:14 +00:00
Mike Frysinger
95ef16528c
2005-07-05 Shaun Jackman <sjackman@gmail.com>
...
* init/Config.in (CONFIG_FEATURE_INIT_SWAPON): New option.
* init/init.c (check_memory): Disable the swapon feature unless
CONFIG_FEATURE_INIT_SWAPON is defined.
2005-07-06 04:39:08 +00:00
Mike Frysinger
72a4c33568
rename log var to log_console so we dont override internal gcc/glibc log func
2005-07-05 02:19:20 +00:00
Mike Frysinger
b381009740
2005-06-30 Shaun Jackman <sjackman@gmail.com>
...
* loginutils/getty.c: (open_tty): Use dup2 instead of close/dup.
2005-07-01 01:29:44 +00:00
Mike Frysinger
f413e241ba
2005-06-30 Shaun Jackman <sjackman@gmail.com>
...
* loginutils/getty.c: Include utmp.h only if
CONFIG_FEATURE_U_W_TMP is defined.
(getty_main): Use ISSUE only if it is defined.
2005-07-01 01:07:16 +00:00
Mike Frysinger
8deb686d2e
Patch by jonlar in Bug 312 to split the U_W_TMP feature into sep UTMP and WTMP options
2005-07-01 01:04:32 +00:00
Mike Frysinger
a87bb60809
patch by Shaun Jackman to combine dup/close funcs into dup2
2005-06-30 03:43:14 +00:00
Mike Frysinger
8804c6a3b7
dont use f_frsize unless linux-2.6.0 or better
2005-06-29 01:07:04 +00:00
Mike Frysinger
fc379ba077
rip out all the non-linux code and ugly workarounds
2005-06-28 23:50:18 +00:00
Mike Frysinger
9e164578f2
tweak signed/unsigned char usage to avoid mismatches
2005-06-24 21:37:59 +00:00
Ned Ludd
778ee6da60
- remove extra/unneeded function call. testing svn
2005-06-24 03:47:57 +00:00
Eric Andersen
5043ea1986
Enabling runtime SUID/SGID configuration via /etc/busybox.conf
...
is not a very good default. Better to default to having it off
and let people get the default behavior. If they want to enable
/etc/busybox.conf they should explicitly ask for it.
2005-06-23 19:15:40 +00:00
Eric Andersen
576db48ef0
applets specified as _BB_SUID_ALWAYS in applets.h should also select
...
CONFIG_FEATURE_SUID to ensure proper behavior when installed.
2005-06-23 18:58:57 +00:00
Eric Andersen
3efa51d943
characters encoded as html should have a trailing semicolon
...
to be interpreted properly
2005-06-23 05:51:48 +00:00
Rob Landley
6eb1e41674
Rodney Radford submitted ipcs and ipcrm (system V IPC stuff). They could use
...
some more work to shrink them down.
2005-06-20 04:30:36 +00:00
Mike Frysinger
df1eda82b9
Tito says: unify verbose/quiet flags
2005-06-17 02:13:57 +00:00
Mike Frysinger
d0615ae73a
Tito says: strip unused program_name
...
Vladimir N. Oleynik says: uname() can be replaced with get_kernel_revision()
2005-06-17 01:35:52 +00:00
Mike Frysinger
d5826903c1
use xmalloc instead of malloc
2005-06-12 00:45:09 +00:00
Mike Frysinger
7fde8debc4
use malloc instead of xmalloc
2005-06-11 22:37:25 +00:00
Mike Frysinger
d1a9d57bd6
use xmalloc() instead of malloc()
2005-06-11 22:25:27 +00:00
Mike Frysinger
2401ce5343
use xmalloc() and bb_perror_msg_and_die()
2005-06-11 22:24:15 +00:00
Rob Landley
958fa2a9cc
Note that memory allocaiton needs to be cleaned up too.
2005-06-11 22:10:42 +00:00
Mike Frysinger
0b3fc1a9ac
remove com_err.h includes
2005-06-11 20:29:02 +00:00
Mike Frysinger
16bc6159f3
DOS only crap
2005-06-11 20:28:47 +00:00
Mike Frysinger
6447ac0ef4
import initial fat mke2fs
2005-06-11 05:29:40 +00:00
Mike Frysinger
174808cedb
import tune2fs support
2005-06-11 01:14:09 +00:00
Mike Frysinger
a34f99930d
fix signed/unsigned char pointers
2005-06-11 00:50:59 +00:00
Mike Frysinger
7ffce0c119
oops, we only want to affect local CFLAGS
2005-06-11 00:45:50 +00:00
Mike Frysinger
d5624dcc0d
initial fat tune2fs/findfs/e2label source
2005-06-11 00:40:20 +00:00
Mike Frysinger
cae717e1f6
replace simple is_null func with a memcmp define
2005-06-11 00:36:04 +00:00
Mike Frysinger
f3d28845f8
force including of e2fsbb.h and move the HAVE_* defines to it
2005-06-11 00:27:50 +00:00
Mike Frysinger
e9903cfa0f
move config.h requirement to the actual .depend target rather than the depend alias
2005-06-11 00:13:58 +00:00