d35ef0f666
More removal of "#if 0" content.
"Robert P. J. Day"
2006-07-01 14:59:54 +00:00
edd9ca5743
More removal of "#if 0" content.
"Robert P. J. Day"
2006-07-01 14:52:12 +00:00
53f21e34a7
Remove "#if 0" content.
"Robert P. J. Day"
2006-07-01 14:34:33 +00:00
177c9f3128
Get rid of all "#if 0" content.
"Robert P. J. Day"
2006-07-01 14:30:28 +00:00
68229837ff
Remove all usage of the "register" storage class specifier.
"Robert P. J. Day"
2006-07-01 13:08:46 +00:00
f350160963
Remove "#if 1" directives.
"Robert P. J. Day"
2006-07-01 12:19:39 +00:00
01772aea33
Annoint 1.2.0.
Rob Landley
2006-06-30 22:40:13 +00:00
12d9419273
Revert taskset for 1.2.0. It emits a warning, breaks building under RH9, and nobody seemed interested in fixing it despite repeated complaints. I'll worry about it in the 1.3 timeframe...
Rob Landley
2006-06-30 22:20:43 +00:00
5df6d9f777
- Give Rob Landley things TODO like depmod
Ned Ludd
2006-06-30 21:48:38 +00:00
a526c30cc5
Make another warning go away.
Rob Landley
2006-06-30 20:30:10 +00:00
ab58d5cf8a
Make warnings go away.
Rob Landley
2006-06-30 19:04:09 +00:00
9c0e4f03d9
More random todo items...
Rob Landley
2006-06-30 16:38:09 +00:00
8bbdb8732f
This kind of paranoia is a debug option at best.
Rob Landley
2006-06-30 16:36:56 +00:00
cd545287c5
Fix bug 744 by moving the flushing logic into the exhausted read buffer test. (Also some other minor cleanups while I was there, shouldn't affect the resulting binary.)
Rob Landley
2006-06-30 16:35:40 +00:00
db1ab1aeb3
Top was catching sigterm (and fumbling sigint) so it could reset the terminal type on the way out, but the signal handler didn't exit. Plus it did unnecessary things with sigaction. This code is overgrown and needs a serious weed-whacking...
Rob Landley
2006-06-28 14:11:25 +00:00
ea7c18514b
Fix http://bugs.busybox.net/view.php?id=826 in which "(echo; echo) | sed x" crashes because the empty state of the hold space is NULL but the empty state of the pattern space is "".
Rob Landley
2006-06-28 13:50:59 +00:00
cc826d74e4
cleanup patch usage
Mike Frysinger
2006-06-28 00:22:32 +00:00
1979d3ccbc
More website cleanup.
Rob Landley
2006-06-27 22:33:22 +00:00
d879ffb79e
Move 2005 and earlier to oldnews.
Rob Landley
2006-06-27 21:29:56 +00:00
ed9aec908b
Redo the license section completely, and update the header to group the tabs.
Rob Landley
2006-06-27 20:47:08 +00:00
cddba6c61f
Move documentation links into the index so they're more visible.
Rob Landley
2006-06-27 18:59:57 +00:00
af12cb39d1
Patch from Geoff Baker to fix bug http://bugs.busybox.net/view.php?id=905 by changing wget's ftp code not to chdir but to use the complete path each time.
Rob Landley
2006-06-27 18:41:03 +00:00
21302c2b78
Properly print the output for a sit (IPv6-in-IPv4) interface.
"Robert P. J. Day"
2006-06-26 22:03:43 +00:00
4137dd783b
Aesthetic fix to use newer structure initialization format.
"Robert P. J. Day"
2006-06-26 21:54:57 +00:00
cd68a2e1a8
fix watchdog on no-mmu systems by adding -F option for rexec
Mike Frysinger
2006-06-26 21:31:17 +00:00
42705abc28
dont setpgrp() for now as it breaks system() and that is more important than ctrl+c handling of background processes
Mike Frysinger
2006-06-26 20:42:36 +00:00
ef10d52745
Upgrade mdev to allow commands to be run on create/delete.
Rob Landley
2006-06-26 14:11:33 +00:00
cf7577d417
Missed one. Based on suggestions from Erik Hovland.
Rob Landley
2006-06-25 22:59:31 +00:00
11c7a7bed6
Various cleanups I made while going through Erik Hovland's patch submissions, some of which are even from him. :)
Rob Landley
2006-06-25 22:39:24 +00:00
f087798e8b
- convert old-style parameter declarations (K&R) to modern style.
Bernhard Reutner-Fischer
2006-06-25 22:08:53 +00:00
a892bf8284
Whitespace. (Vim's auto-indent is kind of annoying at times, like "daytime" and "nighttime"...)
Rob Landley
2006-06-25 15:37:28 +00:00
934da82913
Fix a possible race condition if two processes try to claim the same loop device at the same time. We should only CLR_FD if the set status fails, not if the SET_FD fails.
Rob Landley
2006-06-25 15:29:12 +00:00
768945b762
A few patches from Erik Hovland, turning strncpy() into safe_strncpy() and removing some unnecessary code.
Rob Landley
2006-06-25 00:34:52 +00:00
641c3537c0
Add a test from Glenn.
Rob Landley
2006-06-24 22:55:13 +00:00
e1ee482684
Document mount's new error return conventions.
Rob Landley
2006-06-24 22:39:19 +00:00
c983274565
The logic to make cp -d or -P treat things like regular files should only trigger for symlinks, not for device nodes. This should fix "cp -a /dev ." to work as expected (when run by root, anyway).
Rob Landley
2006-06-24 21:27:36 +00:00
5d9c42aadc
Slowly pulling more common headers into libbb.h. Andre pointed out that older uClibc didn't include sys/socket.h from netinet/in.h, so add an explicit #include for that too...
Rob Landley
2006-06-24 17:55:02 +00:00
53433b3ca1
Clean up.
Rob Landley
2006-06-22 22:28:29 +00:00
1fa4a9448b
Patch from Shaun Jackman to replace CFLAGS_EXTRA with .config.mak
Rob Landley
2006-06-22 22:05:00 +00:00
67d4943393
CONFIG_DHCP -> CONFIG_APP_DHCP.
Rob Landley
2006-06-22 18:48:34 +00:00
135cee3741
Jean Wolter writes: modprobe checks, whether a module is already loaded. The function used for this currently always returns 0.
Mike Frysinger
2006-06-21 23:03:37 +00:00
35492137f8
- add note about strict ordering
Bernhard Reutner-Fischer
2006-06-21 18:19:53 +00:00
c2ad4f5d27
Jean Wolter writes: ash uses bsearch to search in the list of built-in commands, therefore the list of built-in commands has to be ordered. Revision 15077 introduced the source built-in and destroyed this order. And now ash doesn't find the shift command anymore.
Mike Frysinger
2006-06-21 18:04:49 +00:00
0cc2c2c289
Patch from Paul Fox to improve mount's error handling behavior, which I beat on a bit.
Rob Landley
2006-06-21 03:53:33 +00:00
dbfb5a3cb7
Andre (armcc2200@yahoo) patched a bug where successful mounts could sometimes produce an error, due to a missing rc assignment.
Rob Landley
2006-06-21 02:39:57 +00:00
399d45f1c6
Aurelien Jacobs pointed out inline functions that could be removed. Doing so shrank the code a bit.
Rob Landley
2006-06-21 01:49:17 +00:00
e5e1a10cd3
Remove pointless "inline" wrapper around get_terminal_width_height().
Rob Landley
2006-06-21 01:15:36 +00:00
2d6af16035
Zubicaray reported a bug in vi that causes it to eat 100% cpu when you close an xterm it's running in. The vi signal behavior would catch and restarts lots of signals, like SIGHUP, that should just kill the thing. (Leftover behavior from when it would segfault all the time.) Filtered out the more obviously bad ones. If it segfaults, we should find and fix the problem.
Rob Landley
2006-06-21 00:52:31 +00:00
b049c0ec19
only enable count_bit functions when actually needed to fix warning reported by Bernhard Fischer
Mike Frysinger
2006-06-20 23:03:27 +00:00
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...
Rob Landley
2006-06-20 22:38:00 +00:00
5483de1cb7
Cleanup patch from Shaun Jackman converting %m to perror.
Rob Landley
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.
Rob Landley
2006-06-20 21:13:29 +00:00
14ff19b28a
assign default debug level to the MSHDEBUG define
Mike Frysinger
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...)
Rob Landley
2006-06-20 17:43:01 +00:00
8437ede6c2
The type changed too.
Rob Landley
2006-06-20 16:43:05 +00:00
5ab8f7de4f
Use the new names for tty_baud_to_value() and tty_value_to_baud() again.
Peter Kjellerstedt
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.
Rob Landley
2006-06-20 16:17:24 +00:00
2818b292fb
Patch by Robert P. Day to make structs use c99 initializers.
Rob Landley
2006-06-20 15:52:52 +00:00
2a613d7360
Patch from Robert P. J. Day cleaning up some unnecessary preprocessor directives.
Rob Landley
2006-06-20 14:57:00 +00:00
352e117c6b
Amrein-Marie Christophe pointed out that Mandrake changed its name.
Rob Landley
2006-06-20 14:09:20 +00:00
7a260f01ce
Make some 64 bit warnings go away on x86-64.
Rob Landley
2006-06-19 03:20:03 +00:00
290fcb4213
Undo all of the ugliness and some of the bloat from 15412.
Rob Landley
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.
Rob Landley
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.
Rob Landley
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.
Mike Frysinger
2006-06-17 22:41:28 +00:00
fe3d844bb1
Make it so Erik has to forward me less email.
Rob Landley
2006-06-16 22:29:03 +00:00
6d82f94681
- do away with the fwd-decls of functions. Should not contain any code changes AFAICT.
Bernhard Reutner-Fischer
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.)
Rob Landley
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.
Rob Landley
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..
Bernhard Reutner-Fischer
2006-06-16 14:03:23 +00:00
f5efa7bfeb
- add patch to provide a target 'html' to build a cross-reference of the source
Bernhard Reutner-Fischer
2006-06-16 12:45:29 +00:00
fd4b61d5f3
- add needed includes and include busybox.h needed for the ATTRIBUTE define.
Bernhard Reutner-Fischer
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...
Rob Landley
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.
Rob Landley
2006-06-15 22:11:10 +00:00
1761b9dabe
- use shorter boilerplate, more accurate header guard - don't use multi-line string literals
Bernhard Reutner-Fischer
2006-06-15 21:56:28 +00:00
7011dd0e06
- drats.
Bernhard Reutner-Fischer
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
Bernhard Reutner-Fischer
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.
Rob Landley
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.
Rob Landley
2006-06-15 20:07:57 +00:00
04b7ef967b
Jens Michaelsen pointed out that Linksys' firmware download side moved.
Rob Landley
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.)
Rob Landley
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.)
Rob Landley
2006-06-15 15:49:36 +00:00
d6e5083d16
Help text update for libbb, talking about make standalone.
Rob Landley
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.
Bernhard Reutner-Fischer
2006-06-14 17:33:57 +00:00
597e70e9e4
- rename CONFIG_FEATURE_TFTP_DEBUG to CONFIG_DEBUG_TFTP
Bernhard Reutner-Fischer
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
Bernhard Reutner-Fischer
2006-06-14 17:29:10 +00:00
f1bd42a305
- correct typo
Bernhard Reutner-Fischer
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
Bernhard Reutner-Fischer
2006-06-14 16:36:45 +00:00
66e3a222cd
- minor shrinkage
Bernhard Reutner-Fischer
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.
Rob Landley
2006-06-14 01:51:16 +00:00
a34b48abe5
Upgrade the standalone shell code to use CONFIG_BUSYBOX_EXEC_PATH.
Rob Landley
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.)
Rob Landley
2006-06-14 01:24:33 +00:00
575c8bacda
Don't break allbareconfig.
Rob Landley
2006-06-13 21:30:09 +00:00