23246f39ed
Patch from Stephane Billiart to improve ash error message.
Rob Landley
2005-08-14 19:16:51 +00:00
6e98521d68
Stephane Billiart noticed that the return code of the new mount was horked. (Cleaned up the return code path to consistently use numbers so I don't keep confusing EXIT_SUCCESS with TRUE and EXIT_FAILURE with FALSE...)
Rob Landley
2005-08-14 18:46:34 +00:00
58a651b2e5
Very minor tweak to tail.
Rob Landley
2005-08-13 00:35:00 +00:00
f9bd87b0a7
make sure distclean punts include/bbconfigopts.h
Mike Frysinger
2005-08-11 21:59:52 +00:00
6a6798b8e4
Major rewrite of mount, umount, losetup. Untangled lots of code, shrunk things down a bit, fixed a number of funky corner cases, added support for several new features (things like mount --move, mount --bind, lazy unounts, automatic detection of loop mounts, and so on). Probably broke several other things, but it's fixable. (Bang on it, tell me what doesn't work for you...)
Rob Landley
2005-08-10 20:35:54 +00:00
0b62158475
implemented a builtin echo command in ash. moved the guts of the echo applet into libbb, and now call bb_echo() from both echo.c and ash.c
Paul Fox
2005-08-09 19:38:05 +00:00
3f11b1bf63
commiting: 0000025: vi-editing mode for ash
Paul Fox
2005-08-04 19:04:46 +00:00
8eeb655661
applying jim bauer's patch to eliminate modprobe's dependency on /bin/sh. bug #8. 0000008: modprobe applet is dependent on having a shell
Paul Fox
2005-08-04 18:33:36 +00:00
157e8071be
In bb_config.h, replace AUTOCONF_INCLUDED guard with the more reasonable and obvious (and less side-effect prone in strange build environments) BB_CONFIG_H.
Rob Landley
2005-08-02 10:02:23 +00:00
ff3a61b71d
Do not define 'AUTOCONF_INCLUDED'
Eric Andersen
2005-08-02 00:59:44 +00:00
4240364098
commiting: 0000028 03-16-05 patch: new setsid applet
Paul Fox
2005-08-01 22:52:09 +00:00
f1dbd4a6f7
fix bbconfigopts.h depend
Mike Frysinger
2005-08-01 20:49:32 +00:00
fcafa4bfc1
screw around with whitespace
Mike Frysinger
2005-08-01 20:48:00 +00:00
b831753676
commiting: 0000073: Add option to inetd applet to run in foreground this option was already there for uclinux -- this just exposes it in the normal case as well.
Paul Fox
2005-08-01 19:39:47 +00:00
156dc41cbc
commiting patch from bug 71: 0000071: patch: implement "--color" option for ls coloring control
Paul Fox
2005-08-01 19:33:30 +00:00
fc2256a6ca
applying patch for bug 72: 0000072: Add applet to redirect console output via ioctl(..., TIOCCONS) applet name changed to setconsole, since suse has a very similar utility. better to treat differences as bugs than invent a new command.
Paul Fox
2005-08-01 18:12:30 +00:00
41a72ecd19
applying patch from bug 24: 0000024 03-16-05 patch: allow init to set controlling tty
Paul Fox
2005-08-01 16:43:13 +00:00
79c142d938
new config display applet, from bug 46. i've changed the name of the applet from "config" to "bbconfig", and renamed the source filenames and symbols to match appropriately.
Paul Fox
2005-08-01 16:04:40 +00:00
a39bba33c8
allow suppression of default client-id. fixes bug 000037. allows busybox to match kernel and u-boot behavior with respect to client-id.
Paul Fox
2005-08-01 14:31:13 +00:00
9d6e0833bc
patch by pkj in Bug 3 to not export all make variables
Mike Frysinger
2005-07-31 22:50:17 +00:00
d84a35f649
patch by apgo in Bug 345 to not use ether_hostton() with uClibc
Mike Frysinger
2005-07-31 22:49:12 +00:00
15ca58648a
patch by srowe in Bug 359 to fix fgrep aliasing
Mike Frysinger
2005-07-31 22:41:05 +00:00
66c37d1390
typecast to int
Mike Frysinger
2005-07-31 22:22:20 +00:00
2e3054f413
use socklen_t instead of size_t with socket related functions
Mike Frysinger
2005-07-31 22:20:02 +00:00
1c1655a301
move -s from LDFLAGS to STRIPCMD
Mike Frysinger
2005-07-31 22:11:33 +00:00
7e64db23d0
use defines instead of const integers
Mike Frysinger
2005-07-31 22:09:33 +00:00
e11ff718ac
shrink the flag setting by reversing the operation
Mike Frysinger
2005-07-31 22:06:38 +00:00
6f978dbacd
eat leading whitespace with preprocessor
Mike Frysinger
2005-07-31 21:05:19 +00:00
08c20362f5
replace for loops with one function call
Mike Frysinger
2005-07-31 20:51:58 +00:00
de7f9b7332
Ahem: add new faq entry to list at top of FAQ.html
Rob Landley
2005-07-31 04:27:19 +00:00
c7a3e1be8f
Fix "nm --size-sort" on the busybox binary and document how to make it work.
Rob Landley
2005-07-31 04:25:00 +00:00
e70aa9de7e
only declare do_swap if we need it
Mike Frysinger
2005-07-30 09:43:58 +00:00
223b887960
touchup syntax
Mike Frysinger
2005-07-30 09:42:05 +00:00
198ea3c86a
cleanup the error message so we dont use glibcism of %m and cast a pointer to an int (bad on 64bit arches)
Mike Frysinger
2005-07-30 09:29:10 +00:00
f28c7ec7e5
cleanup syntax
Mike Frysinger
2005-07-30 09:24:49 +00:00
0d3ca7289e
tell people to ignore the dups/e0 warnings
Mike Frysinger
2005-07-30 08:59:38 +00:00
cc428da83f
punt unused variable
Mike Frysinger
2005-07-30 08:58:19 +00:00
d6a2d41db2
tell people to ignore the save_name warning
Mike Frysinger
2005-07-30 08:57:35 +00:00
14445fd9a1
in order to make sure the INET6 prototypes are exported, we would have to include the libbb.h header file ... but then we have to worry about including too early/etc... since simply defining the prototype in an internal header file doesnt hurt anyone, lets not worry about the header file crap and just always prototype the inet6 functions
Mike Frysinger
2005-07-30 08:54:43 +00:00
b953134bba
apgo in Bug 322 writes: kill off CONFIG_FEATURE_MTAB_FILENAME
Mike Frysinger
2005-07-30 08:48:10 +00:00
69024551bf
rename the accept/reject names since accept overrides the accept() socket function
Mike Frysinger
2005-07-30 07:30:26 +00:00
f7eaf5a012
apgo in Bug 351 says: punt parse_version_number since it is no longer used
Mike Frysinger
2005-07-30 07:29:22 +00:00
bb9a0ad95a
commiting fix from: 0000353: [PATCH] start-stop-daemon -q is not quiet
Paul Fox
2005-07-29 14:58:09 +00:00
b3b756dab3
further refine check_gcc usage so it is only called the bare min number of times
Mike Frysinger
2005-07-28 22:26:25 +00:00
c99e2c5f4c
dont output anything when running in silent mode
Mike Frysinger
2005-07-28 22:14:35 +00:00
088ee4134b
From Rich Paul:
Rob Landley
2005-07-28 19:38:52 +00:00
ef8f423e90
Erik pointed out that in the last try at the #ifdef cleanup infrastructure, the compiler isn't smart enough to replace const static int with the constant, and allocates space for each set of them, bloating the executable something fierce. Oops.
Rob Landley
2005-07-28 19:36:33 +00:00
e5ba382b99
move the ifdef to after libbb.h include, so it can do some good.
Paul Fox
2005-07-27 14:20:52 +00:00
193c8c7383
#ifdef reduction infrastructure, based on an argument between Shaun Jackman, Rob Landley, and others.
Rob Landley
2005-07-27 06:55:36 +00:00
77804ce53d
The change in getty.c in Busybox 1.01 caused the /etc/issue file to not be displayed unless CONFIG_FEATURE_UTMP is set. This was not the intended result.
Eric Andersen
2005-07-27 06:05:38 +00:00
4d00896d05
use toplevel ARFLAGS and update default ARFLAGS to be quiet
Mike Frysinger
2005-07-27 01:09:24 +00:00
dbc049fda4
remove unused variable ret as reported by apgo in Bug 350 and touchup syntax along the way
Mike Frysinger
2005-07-26 22:57:51 +00:00
6e05312ba9
no longer used as reported by apgo in Bug 348
Mike Frysinger
2005-07-26 22:51:57 +00:00
726b2cb5da
just punt all the f_frsize crap since not all linux headers support it Bug 346
Mike Frysinger
2005-07-26 22:39:56 +00:00
1429017968
ifdef all of loop.c with CONFIG_FEATURE_MOUNT_LOOP. won't compile due to CONFIG_FEATURE_MOUNT_LOOP_MAX otherwise. reported by Stephane Billiart.
Paul Fox
2005-07-22 19:58:32 +00:00
37dd6247dd
applying fix for: 0000093: Patch for dpkg - can't handle scripts Attached patch is needed to fix dpkg's support for preinst, postinst etc script files.
Paul Fox
2005-07-22 13:17:41 +00:00
7b86134032
remove duplicate check against chaddr.
Paul Fox
2005-07-21 20:23:56 +00:00
8de331def0
revert 10881, and refix by changing "if (vallen)" to "if (val)". this is per the upstream fix for dash, in dash_0.5.2-6.diff. thanks vodz, for catching this.
Paul Fox
2005-07-21 12:03:05 +00:00
0840b76602
applying fixes from: 0000142: unzip enhancements
Paul Fox
2005-07-20 20:26:49 +00:00
f2ddc05ee7
applying fix for: 0000026: poor man's "scriptable" telnet
Paul Fox
2005-07-20 19:55:19 +00:00
1d4c88c8a5
applying fix for: 0000271: [PATCH] tftp -g fails if a TFTP_ACK is lost
Paul Fox
2005-07-20 19:49:15 +00:00
4905434b8a
applying fix for: 0000265: tail -f should keep following files even if they were truncated
Paul Fox
2005-07-20 19:46:32 +00:00
982d35ffa2
applying fix for: 0000263: nc cannot use -e when initiating a tcp connection to something else
Paul Fox
2005-07-20 19:40:30 +00:00
94ff9f1010
applying fix for: 0000262: tar -x doesn't believe it has reached the end of archive
Paul Fox
2005-07-20 19:24:13 +00:00
6f267f022f
applying fix for: 0000261: Unsafe empty env var export in ash
Paul Fox
2005-07-20 19:18:45 +00:00
01f67987e0
applying fix for: 0000260: udhcpc doesn't validate client hardware address
Paul Fox
2005-07-20 19:13:21 +00:00
379ac89c30
applying patch from: 0000227: sort use wrong type for getopt return variable
Paul Fox
2005-07-20 19:07:27 +00:00
5dc0ceeb9e
applying fix for: 0000203: 'ip route flush cache' not implemented
Paul Fox
2005-07-20 19:01:05 +00:00
77ee52333c
applying fix for: 0000185: httpd infinite loop when piping to CGI script
Paul Fox
2005-07-20 18:42:52 +00:00
54690dc0b2
applyinf fix for: 0000155: variable expansion with braces in backticks in msh
Paul Fox
2005-07-20 18:33:12 +00:00
c3850c83d9
applying fix from: 0000152: ash: quoting rules for local variables different to globals
Paul Fox
2005-07-20 18:23:39 +00:00
27cbffddd8
applying fix for: 0000143: sysklogd remote logging adds a space between facility and tag
Paul Fox
2005-07-20 18:02:11 +00:00
18433aadf6
applying fix for: 0000118: vi join command does not mark file as modified for certain lines.
Paul Fox
2005-07-20 17:39:52 +00:00
28069404a4
much more concise fix for bug #45. just align the packet...
Paul Fox
2005-07-20 11:55:08 +00:00
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.
Rob Landley
2005-07-20 00:45:40 +00:00
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.
Paul Fox
2005-07-19 21:31:05 +00:00
146e83a60e
applying fix from: 0000108: busyboxy/networking/ftpgetput.c not conforming to RFC 959. ftpget and ftpput send <LF> as EOL.
Paul Fox
2005-07-19 21:26:57 +00:00
127adc559f
applying fix from; 0000092: looks like the initializer for .need_suid was missing.
Paul Fox
2005-07-19 21:21:58 +00:00
deac371690
applying fix from: 0000088: inetd chargen stream does not generate the characters as recommended in RFC 864 Chragen service is generating garbage characters.
Paul Fox
2005-07-19 21:19:20 +00:00
3f6f3174e9
applying fix from: 0000068: mount limited to max 8 loop devices (patch provided)
Paul Fox
2005-07-19 20:55:37 +00:00
0a92bbf349
applying fix from: 0000067: cp -p produces misleading error message
Paul Fox
2005-07-19 20:47:33 +00:00
574fee4f99
applying: 0000054: Tab completing filenames in ash causes SEGV Simple tab completion operations cause busybox (ash) to access illegal addresses.
Paul Fox
2005-07-19 20:41:06 +00:00
b270315b21
applying fix for: 0000045: traceroute causes an alignment trap due to unaligned buffer on arm
Paul Fox
2005-07-19 20:37:15 +00:00
90161c9213
Fixup makedevs to handle regular files, and also fix it to properly update file permissions as specified.
Eric Andersen
2005-07-18 22:40:59 +00:00
7b71d740b9
fix for "0000027: patch: nc will spin if stdin closed"
Paul Fox
2005-07-18 22:23:16 +00:00
d13b90b9e8
allow both ^H and DEL to backspace in insert mode (bug #23)
Paul Fox
2005-07-18 22:17:25 +00:00
0ef24c672a
Fix vi so that error messages, insert mode messages, etc are all actually displayed in the status line as expected
Eric Andersen
2005-07-18 10:32:59 +00:00
2ada89b60f
a bit more polish
Eric Andersen
2005-07-18 09:45:35 +00:00
54e57da96a
a bit of polish on makedevs
Eric Andersen
2005-07-18 09:42:37 +00:00
1b7058c653
the makedevs config option was pretty much totally broken
Eric Andersen
2005-07-18 09:36:49 +00:00
e8614dbcd7
Fixup device table based makedevs so it actually works
Eric Andersen
2005-07-18 09:28:36 +00:00
10427ab528
move var decls around a little to help gcc make smaller code
Mike Frysinger
2005-07-06 05:00:48 +00:00