b13fee4cbb
Since rangecoder is just a bunch of C functions, move it into the one user
...
(decompress_unlzma.c). Also a slight #include cleanup, and I've been meaning
to put #include <unistd.h> into libbb.h since it's so darn common...
2006-06-20 22:38:00 +00:00
5483de1cb7
Cleanup patch from Shaun Jackman converting %m to perror.
2006-06-20 21:35:26 +00:00
9fe801e0d2
Patch by Robert P. Day to remove obsolete alias code that the 2.4 and 2.6
...
Linux kernels don't do anymore.
2006-06-20 21:13:29 +00:00
14ff19b28a
assign default debug level to the MSHDEBUG define
2006-06-20 20:37:01 +00:00
2b8a05a775
I broke allbareconfig with half-finished cleanups I'd forgotten weren't done.
...
Got both to a decent stopping point. (There's a lot more cleanup to do on ls.c
but now is not the time...)
2006-06-20 17:43:01 +00:00
8437ede6c2
The type changed too.
2006-06-20 16:43:05 +00:00
5ab8f7de4f
Use the new names for tty_baud_to_value() and tty_value_to_baud() again.
2006-06-20 16:35:37 +00:00
57c1f73dd5
Revert the last two patches to go back to a state before this file was
...
controversial.
2006-06-20 16:17:24 +00:00
2818b292fb
Patch by Robert P. Day to make structs use c99 initializers.
2006-06-20 15:52:52 +00:00
2a613d7360
Patch from Robert P. J. Day cleaning up some unnecessary preprocessor
...
directives.
2006-06-20 14:57:00 +00:00
352e117c6b
Amrein-Marie Christophe pointed out that Mandrake changed its name.
2006-06-20 14:09:20 +00:00
7a260f01ce
Make some 64 bit warnings go away on x86-64.
2006-06-19 03:20:03 +00:00
290fcb4213
Undo all of the ugliness and some of the bloat from 15412.
2006-06-18 23:59:03 +00:00
ea224be6aa
skip_whitespace() shouldn't claim its return value is const, it doesn't know
...
that and callers wind up typecasting it back.
2006-06-18 20:20:07 +00:00
14d7065ef1
Make this slightly more readable, and expose the hypocrasy of a comment that
...
says "our implementation makes it impossible to use blocksizes smaller than
22 octets" right above a check for blocksize < 8.
2006-06-18 15:23:13 +00:00
b000586d02
danf writes: stty doesn't support baud rates > 460800 bps, the attached patch adds support for all baud rates supported by Linux 2.6.16 on x86.
2006-06-17 22:41:28 +00:00
fe3d844bb1
Make it so Erik has to forward me less email.
2006-06-16 22:29:03 +00:00
fa61ca7591
- add cross-reference generation target.
...
Experimental.
2006-06-16 17:19:39 +00:00
6d82f94681
- do away with the fwd-decls of functions. Should not contain any code changes
...
AFAICT.
2006-06-16 16:37:07 +00:00
d9a761d9c3
Revert svn 15333. If you vfork, you must either exec or exit. (The parent is
...
blocked until you do so.)
2006-06-16 16:35:53 +00:00
1449a2014a
This directory was fallout from the great feature freeze of 2003, which led
...
up to the 1.00 release. I just moved what was left of it to
http://busybox.net/~landley/pending because it does _not_ belong in the
tree anymore.
2006-06-16 15:08:59 +00:00
747041955e
- hide CONFIG_GETOPT_LONG for the 1.2.0 release. Turned on per default.
...
I will revisit this and make sure that run-parts and ifupdown are fixed; hdparm needs treatment too..
2006-06-16 14:03:23 +00:00
f5efa7bfeb
- add patch to provide a target 'html' to build a cross-reference of the source
2006-06-16 12:45:29 +00:00
fd4b61d5f3
- add needed includes and include busybox.h needed for the ATTRIBUTE define.
2006-06-16 12:28:39 +00:00
bc8c50351f
Remove warnings caused by #include <sys/mount.h> in platform.h. Apparently
...
we redefine a lot of stuff from standard header files...
2006-06-16 04:25:19 +00:00
9947a244d4
Patch from Rich Felker:
...
- duplicated format bit 14 forced LIST_EXEC always-on
- -p option was behaving just like -F (SUSv3 says -p only shows / for
dirs, not other special symbols)
- tests for LIST_EXEC in color functions were nonsense (constant
tests). i assume they were supposed to be (all_fmt & LIST_EXEC)
however having coloring of executable files depend on -F seems
undesirable.
2006-06-15 22:11:10 +00:00
1761b9dabe
- use shorter boilerplate, more accurate header guard
...
- don't use multi-line string literals
2006-06-15 21:56:28 +00:00
7011dd0e06
- drats.
2006-06-15 21:39:34 +00:00
42f091a761
- let the scripts be prerequisites of the files the generate
...
- make sure that bbconfig isn't too stupid
2006-06-15 21:35:35 +00:00
39218932b1
Fix bug found by Joey Hess and forwarded by Bastian Bunk. Add Joey Hess's
...
test case to the testsuite, plus another one that would have been broken by
the first attempt at a fix.
2006-06-15 20:50:38 +00:00
cd82c3c041
Don't do workarounds for broken shells. Busybox is about to grow a shell that
...
we can run our own testsuite under, and I want it to handle the full range of
strange and peverted behavior you can find in real world shell scripts.
In the meantime, I'll just say #!/bin/bash in places that may care.
2006-06-15 20:07:57 +00:00
04b7ef967b
Jens Michaelsen pointed out that Linksys' firmware download side moved.
2006-06-15 17:34:57 +00:00
148734df99
We came up with our own names for ATTRIBUTE_*, so why check if they're already
...
#defined? Also remove a check for a gcc version older than RH9 (if non-linux
needs that #define they can put it in their section.)
2006-06-15 16:00:42 +00:00
22d26fc6ae
Patch from Yann Morin to put BLKGETSIZE64 in platform.h had rather a lot of
...
fallout due to the #include <sys/mount.h>. Removed that #include from various
applets and fixed up those that were unhappy when that #include was made
because they'd block copied stuff out of it. (Sigh.)
2006-06-15 15:49:36 +00:00
d6e5083d16
Help text update for libbb, talking about make standalone.
2006-06-15 15:04:53 +00:00
e2c7d34051
- there is no "CONFIG_STANDALONE" in the repository. Also iff there was a
...
CONFIG_STANDALONE, we'd need to toggle this on per default.
2006-06-14 17:33:57 +00:00
597e70e9e4
- rename CONFIG_FEATURE_TFTP_DEBUG to CONFIG_DEBUG_TFTP
2006-06-14 17:32:11 +00:00
32bf1f9d42
- rename CONFIG_FEATURE_TFTP_DEBUG to CONFIG_DEBUG_TFTP so it's off in defconfig
...
- expand the cmd_get/cmd_put macros
- Jason Schoon writes: unlink only if non-stdio
2006-06-14 17:29:10 +00:00
f1bd42a305
- correct typo
2006-06-14 16:51:50 +00:00
df798b7f58
- minor size tweak
...
text data bss dec hex filename
613 0 0 613 265 loginutils/su.o.orig
605 0 0 605 25d loginutils/su.o
2006-06-14 16:36:45 +00:00
66e3a222cd
- minor shrinkage
2006-06-14 16:17:50 +00:00
d760560c52
Attempt at fixing bug 836, vaguely based on patch from somebody named
...
clausmuus, forwarded to me by Yann E. Morin.
2006-06-14 01:51:16 +00:00
a34b48abe5
Upgrade the standalone shell code to use CONFIG_BUSYBOX_EXEC_PATH.
2006-06-14 01:27:01 +00:00
c7ddefc062
Attempt at fixing bug 815 by upgrading bb_spawn() so that builtins are at
...
the start of the path. (This should be under the same config option as
the standalone shell, but right now that's buried in the shell menu.)
Also add the ability to specify CONFIG_BUSYBOX_EXEC_PATH with /proc/self/exe
as an overrideable default.
2006-06-14 01:24:33 +00:00
575c8bacda
Don't break allbareconfig.
2006-06-13 21:30:09 +00:00
68286770b6
Patch from Shaun Jackman to detect "name=value" variable assignments. Random
...
cleanup at the end by me to make some unrelated #ifdefs go away...
2006-06-13 19:01:30 +00:00
f946379599
Make lash smaller. (Use llist_t for file closing, and different allocation
...
functions.)
2006-06-13 18:50:20 +00:00
7c7b0d7437
Rewrite of dmesg, smaller and simpler.
2006-06-13 18:31:04 +00:00
18958e9309
Random cleanup of platform.h.
2006-06-13 18:28:33 +00:00
0960ca7383
Work around a persistent uClibc bug, since 0.9.29 still hasn't shipped.
...
Poked to do this by Jason Schoon.
2006-06-13 18:27:16 +00:00