oweals/busybox.git
18 years agoFix three embarassing thinkos in the new dmesg.c:
Rob Landley [Thu, 6 Jul 2006 16:41:56 +0000 (16:41 -0000)]
Fix three embarassing thinkos in the new dmesg.c:
1) the c argument shouldn't have had a : after that, dunno how that got there.
2) the xgetlarg for level was using size
3) because xgetlarg's error message _SUCKS_ (it does a show_usage() rather than giving any specific info about the range that was violated) I dropped the range down to 2 bytes.  (Which works fine, I dunno why we were nit-picking about that...)

18 years agoBug fix from Vladimir Oleynic via Paul Fox for:
Rob Landley [Thu, 6 Jul 2006 01:09:21 +0000 (01:09 -0000)]
Bug fix from Vladimir Oleynic via Paul Fox for:
echo "+bond0" > /sys/class/net/bonding_masters
while true; do
  echo hello
done

18 years agofixes from ldoolitt@recycle.lbl.gov to use proper tab escaping and fix a typo
Mike Frysinger [Wed, 5 Jul 2006 22:19:21 +0000 (22:19 -0000)]
fixes from ldoolitt@recycle.lbl.gov to use proper tab escaping and fix a typo

18 years agoThis file doesn't appear to be used anywhere.
"Robert P. J. Day" [Wed, 5 Jul 2006 12:47:26 +0000 (12:47 -0000)]
This file doesn't appear to be used anywhere.

18 years ago- Pull r15593:
Bernhard Reutner-Fischer [Tue, 4 Jul 2006 08:26:55 +0000 (08:26 -0000)]
- Pull r15593:
  Rename to CROSS_COMPILE and move its configuration to .config.mak. (Shaun Jackman)

18 years agoDelete unused version.c file and corresponding function prototypes
"Robert P. J. Day" [Mon, 3 Jul 2006 18:11:39 +0000 (18:11 -0000)]
Delete unused version.c file and corresponding function prototypes
from blkid.h.  If this file needs to be resurrected, it can be
based on ext2fs/version.c.

18 years agoremove duplicate CONFIG_TASKSET option
Mike Frysinger [Mon, 3 Jul 2006 05:22:36 +0000 (05:22 -0000)]
remove duplicate CONFIG_TASKSET option

18 years agomake the -0 xargs option a little more clear
Mike Frysinger [Mon, 3 Jul 2006 05:19:44 +0000 (05:19 -0000)]
make the -0 xargs option a little more clear

18 years agoRemove the silly redundancy from that header file include.
"Robert P. J. Day" [Mon, 3 Jul 2006 00:46:47 +0000 (00:46 -0000)]
Remove the silly redundancy from that header file include.

18 years agoCorrect the comment to match the code.
"Robert P. J. Day" [Sun, 2 Jul 2006 19:52:52 +0000 (19:52 -0000)]
Correct the comment to match the code.

18 years agoStandardize on the vi editing directives being on the first line.
"Robert P. J. Day" [Sun, 2 Jul 2006 19:47:05 +0000 (19:47 -0000)]
Standardize on the vi editing directives being on the first line.

18 years agoAllow a user-configurable minimum password length.
"Robert P. J. Day" [Sun, 2 Jul 2006 18:35:39 +0000 (18:35 -0000)]
Allow a user-configurable minimum password length.

18 years ago- note that get_hz potentially needs cleanup.
Bernhard Reutner-Fischer [Sun, 2 Jul 2006 10:33:10 +0000 (10:33 -0000)]
- note that get_hz potentially needs cleanup.

18 years agoPatch from Shaun Jackman moving the var=value logic to here it can do some good.
Rob Landley [Sat, 1 Jul 2006 17:19:02 +0000 (17:19 -0000)]
Patch from Shaun Jackman moving the var=value logic to here it can do some good.

18 years agoYet more "#if 0" content removed.
"Robert P. J. Day" [Sat, 1 Jul 2006 15:09:17 +0000 (15:09 -0000)]
Yet more "#if 0" content removed.

18 years agoMore removal of "#if 0" content.
"Robert P. J. Day" [Sat, 1 Jul 2006 14:59:54 +0000 (14:59 -0000)]
More removal of "#if 0" content.

18 years agoMore removal of "#if 0" content.
"Robert P. J. Day" [Sat, 1 Jul 2006 14:52:12 +0000 (14:52 -0000)]
More removal of "#if 0" content.

18 years agoRemove "#if 0" content.
"Robert P. J. Day" [Sat, 1 Jul 2006 14:34:33 +0000 (14:34 -0000)]
Remove "#if 0" content.

18 years agoGet rid of all "#if 0" content.
"Robert P. J. Day" [Sat, 1 Jul 2006 14:30:28 +0000 (14:30 -0000)]
Get rid of all "#if 0" content.

18 years agoRemove all usage of the "register" storage class specifier.
"Robert P. J. Day" [Sat, 1 Jul 2006 13:08:46 +0000 (13:08 -0000)]
Remove all usage of the "register" storage class specifier.

18 years agoRemove "#if 1" directives.
"Robert P. J. Day" [Sat, 1 Jul 2006 12:19:39 +0000 (12:19 -0000)]
Remove "#if 1" directives.

18 years agoAnnoint 1.2.0.
Rob Landley [Fri, 30 Jun 2006 22:40:13 +0000 (22:40 -0000)]
Annoint 1.2.0.

18 years agoRevert taskset for 1.2.0. It emits a warning, breaks building under RH9,
Rob Landley [Fri, 30 Jun 2006 22:20:43 +0000 (22:20 -0000)]
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...

18 years ago- Give Rob Landley things TODO like depmod
Ned Ludd [Fri, 30 Jun 2006 21:48:38 +0000 (21:48 -0000)]
- Give Rob Landley things TODO like depmod

18 years agoMake another warning go away.
Rob Landley [Fri, 30 Jun 2006 20:30:10 +0000 (20:30 -0000)]
Make another warning go away.

18 years agoMake warnings go away.
Rob Landley [Fri, 30 Jun 2006 19:04:09 +0000 (19:04 -0000)]
Make warnings go away.

18 years agoMore random todo items...
Rob Landley [Fri, 30 Jun 2006 16:38:09 +0000 (16:38 -0000)]
More random todo items...

18 years agoThis kind of paranoia is a debug option at best.
Rob Landley [Fri, 30 Jun 2006 16:36:56 +0000 (16:36 -0000)]
This kind of paranoia is a debug option at best.

18 years agoFix bug 744 by moving the flushing logic into the exhausted read buffer test.
Rob Landley [Fri, 30 Jun 2006 16:35:40 +0000 (16:35 -0000)]
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.)

18 years agoBug http://bugs.busybox.net/view.php?id=723 - initialize tv1 the first time
Rob Landley [Fri, 30 Jun 2006 14:05:19 +0000 (14:05 -0000)]
Bug bugs.busybox.net/view.php?id=723 - initialize tv1 the first time
through the loop.

18 years agofix from Kolbjørn Barmen for building for m68k targets
Mike Frysinger [Fri, 30 Jun 2006 02:53:56 +0000 (02:53 -0000)]
fix from Kolbjørn Barmen for building for m68k targets

18 years agoSome old kernel headers don't #include BLKSSZGET in sys/mount.h.
Rob Landley [Thu, 29 Jun 2006 19:00:12 +0000 (19:00 -0000)]
Some old kernel headers don't #include BLKSSZGET in sys/mount.h.

18 years agoMinor update on init not working.
Rob Landley [Thu, 29 Jun 2006 04:59:11 +0000 (04:59 -0000)]
Minor update on init not working.

18 years agoFix bug http://bugs.busybox.net/view.php?id=874 where hexdump -C got its
Rob Landley [Wed, 28 Jun 2006 14:36:50 +0000 (14:36 -0000)]
Fix bug bugs.busybox.net/view.php?id=874 where hexdump -C got its
spacing wrong.

18 years agoTop was catching sigterm (and fumbling sigint) so it could reset the terminal
Rob Landley [Wed, 28 Jun 2006 14:11:25 +0000 (14:11 -0000)]
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...

18 years agoFix http://bugs.busybox.net/view.php?id=826 in which "(echo; echo) | sed x"
Rob Landley [Wed, 28 Jun 2006 13:50:59 +0000 (13:50 -0000)]
Fix 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 "".

18 years agocleanup patch usage
Mike Frysinger [Wed, 28 Jun 2006 00:22:32 +0000 (00:22 -0000)]
cleanup patch usage

18 years agoMore website cleanup.
Rob Landley [Tue, 27 Jun 2006 22:33:22 +0000 (22:33 -0000)]
More website cleanup.

18 years agoMove 2005 and earlier to oldnews.
Rob Landley [Tue, 27 Jun 2006 21:29:56 +0000 (21:29 -0000)]
Move 2005 and earlier to oldnews.

18 years agoRedo the license section completely, and update the header to group the tabs.
Rob Landley [Tue, 27 Jun 2006 20:47:08 +0000 (20:47 -0000)]
Redo the license section completely, and update the header to group the tabs.

18 years agoMove documentation links into the index so they're more visible.
Rob Landley [Tue, 27 Jun 2006 18:59:57 +0000 (18:59 -0000)]
Move documentation links into the index so they're more visible.

18 years agoPatch from Geoff Baker to fix bug http://bugs.busybox.net/view.php?id=905 by
Rob Landley [Tue, 27 Jun 2006 18:41:03 +0000 (18:41 -0000)]
Patch from Geoff Baker to fix bug bugs.busybox.net/view.php?id=905 by
changing wget's ftp code not to chdir but to use the complete path each time.

18 years agoFix http://bugs.busybox.net/view.php?id=906 which could cause failures in top.
Rob Landley [Tue, 27 Jun 2006 18:14:12 +0000 (18:14 -0000)]
Fix bugs.busybox.net/view.php?id=906 which could cause failures in top.

18 years agoProperly print the output for a sit (IPv6-in-IPv4) interface.
"Robert P. J. Day" [Mon, 26 Jun 2006 22:03:43 +0000 (22:03 -0000)]
Properly print the output for a sit (IPv6-in-IPv4) interface.

18 years agoAesthetic fix to use newer structure initialization format.
"Robert P. J. Day" [Mon, 26 Jun 2006 21:54:57 +0000 (21:54 -0000)]
Aesthetic fix to use newer structure initialization format.

18 years agofix watchdog on no-mmu systems by adding -F option for rexec
Mike Frysinger [Mon, 26 Jun 2006 21:31:17 +0000 (21:31 -0000)]
fix watchdog on no-mmu systems by adding -F option for rexec

18 years agodont setpgrp() for now as it breaks system() and that is more important than ctrl...
Mike Frysinger [Mon, 26 Jun 2006 20:42:36 +0000 (20:42 -0000)]
dont setpgrp() for now as it breaks system() and that is more important than ctrl+c handling of background processes

18 years agoUpgrade mdev to allow commands to be run on create/delete.
Rob Landley [Mon, 26 Jun 2006 14:11:33 +0000 (14:11 -0000)]
Upgrade mdev to allow commands to be run on create/delete.

Both Jason Schoon and Giuseppe Ciotta deserve credit for this, I used elements
of both.  It's been upgraded so that you can specify that a given command
should run at create, at delete, or at both using different special characters
(@, $, and * respectively).  It uses the system() method of running command
lines which means you can use environment variables on the command line (it
sets $MDEV to the name of the current device being created/deleted, which is
useful if you matched it via regex), and the documentation warns that you need
a /bin/sh to make that work, so you probably want to pick a default shell.

18 years agoMissed one. Based on suggestions from Erik Hovland.
Rob Landley [Sun, 25 Jun 2006 22:59:31 +0000 (22:59 -0000)]
Missed one.  Based on suggestions from Erik Hovland.

18 years agoVarious cleanups I made while going through Erik Hovland's patch submissions,
Rob Landley [Sun, 25 Jun 2006 22:39:24 +0000 (22:39 -0000)]
Various cleanups I made while going through Erik Hovland's patch submissions,
some of which are even from him. :)

18 years ago- convert old-style parameter declarations (K&R) to modern style.
Bernhard Reutner-Fischer [Sun, 25 Jun 2006 22:08:53 +0000 (22:08 -0000)]
- convert old-style parameter declarations (K&R) to modern style.

18 years agoWhitespace. (Vim's auto-indent is kind of annoying at times, like "daytime"
Rob Landley [Sun, 25 Jun 2006 15:37:28 +0000 (15:37 -0000)]
Whitespace.  (Vim's auto-indent is kind of annoying at times, like "daytime"
and "nighttime"...)

18 years agoFix a possible race condition if two processes try to claim the same loop
Rob Landley [Sun, 25 Jun 2006 15:29:12 +0000 (15:29 -0000)]
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.

18 years agoA few patches from Erik Hovland, turning strncpy() into safe_strncpy() and
Rob Landley [Sun, 25 Jun 2006 00:34:52 +0000 (00:34 -0000)]
A few patches from Erik Hovland, turning strncpy() into safe_strncpy() and
removing some unnecessary code.

18 years agoAdd a test from Glenn.
Rob Landley [Sat, 24 Jun 2006 22:55:13 +0000 (22:55 -0000)]
Add a test from Glenn.

18 years agoDocument mount's new error return conventions.
Rob Landley [Sat, 24 Jun 2006 22:39:19 +0000 (22:39 -0000)]
Document mount's new error return conventions.

18 years agoThe logic to make cp -d or -P treat things like regular files should only
Rob Landley [Sat, 24 Jun 2006 21:27:36 +0000 (21:27 -0000)]
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).

While I was there, cleanup headers and make an #ifdef go away...

18 years agoSlowly pulling more common headers into libbb.h. Andre pointed out that
Rob Landley [Sat, 24 Jun 2006 17:55:02 +0000 (17:55 -0000)]
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...

18 years agoClean up.
Rob Landley [Thu, 22 Jun 2006 22:28:29 +0000 (22:28 -0000)]
Clean up.

18 years agoPatch from Shaun Jackman to replace CFLAGS_EXTRA with .config.mak
Rob Landley [Thu, 22 Jun 2006 22:05:00 +0000 (22:05 -0000)]
Patch from Shaun Jackman to replace CFLAGS_EXTRA with .config.mak

18 years agoCONFIG_DHCP -> CONFIG_APP_DHCP.
Rob Landley [Thu, 22 Jun 2006 18:48:34 +0000 (18:48 -0000)]
CONFIG_DHCP -> CONFIG_APP_DHCP.

18 years agoJean Wolter writes: modprobe checks, whether a module is already loaded. The function...
Mike Frysinger [Wed, 21 Jun 2006 23:03:37 +0000 (23:03 -0000)]
Jean Wolter writes: modprobe checks, whether a module is already loaded. The function used for this currently always returns 0.

18 years ago- add note about strict ordering
Bernhard Reutner-Fischer [Wed, 21 Jun 2006 18:19:53 +0000 (18:19 -0000)]
- add note about strict ordering

18 years agoJean Wolter writes: ash uses bsearch to search in the list of built-in commands,...
Mike Frysinger [Wed, 21 Jun 2006 18:04:49 +0000 (18:04 -0000)]
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.

18 years agoPatch from Paul Fox to improve mount's error handling behavior, which I beat
Rob Landley [Wed, 21 Jun 2006 03:53:33 +0000 (03:53 -0000)]
Patch from Paul Fox to improve mount's error handling behavior, which I beat
on a bit.

18 years agoAndre (armcc2200@yahoo) patched a bug where successful mounts could sometimes
Rob Landley [Wed, 21 Jun 2006 02:39:57 +0000 (02:39 -0000)]
Andre (armcc2200@yahoo) patched a bug where successful mounts could sometimes
produce an error, due to a missing rc assignment.

18 years agoAurelien Jacobs pointed out inline functions that could be removed. Doing so
Rob Landley [Wed, 21 Jun 2006 01:49:17 +0000 (01:49 -0000)]
Aurelien Jacobs pointed out inline functions that could be removed.  Doing so
shrank the code a bit.

18 years agoRemove pointless "inline" wrapper around get_terminal_width_height().
Rob Landley [Wed, 21 Jun 2006 01:15:36 +0000 (01:15 -0000)]
Remove pointless "inline" wrapper around get_terminal_width_height().

18 years agoZubicaray reported a bug in vi that causes it to eat 100% cpu when you close
Rob Landley [Wed, 21 Jun 2006 00:52:31 +0000 (00:52 -0000)]
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.

18 years agoonly enable count_bit functions when actually needed to fix warning reported by Bernh...
Mike Frysinger [Tue, 20 Jun 2006 23:03:27 +0000 (23:03 -0000)]
only enable count_bit functions when actually needed to fix warning reported by Bernhard Fischer

18 years agoSince rangecoder is just a bunch of C functions, move it into the one user
Rob Landley [Tue, 20 Jun 2006 22:38:00 +0000 (22:38 -0000)]
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...

18 years agoCleanup patch from Shaun Jackman converting %m to perror.
Rob Landley [Tue, 20 Jun 2006 21:35:26 +0000 (21:35 -0000)]
Cleanup patch from Shaun Jackman converting %m to perror.

18 years agoPatch by Robert P. Day to remove obsolete alias code that the 2.4 and 2.6
Rob Landley [Tue, 20 Jun 2006 21:13:29 +0000 (21:13 -0000)]
Patch by Robert P. Day to remove obsolete alias code that the 2.4 and 2.6
Linux kernels don't do anymore.

18 years agoassign default debug level to the MSHDEBUG define
Mike Frysinger [Tue, 20 Jun 2006 20:37:01 +0000 (20:37 -0000)]
assign default debug level to the MSHDEBUG define

18 years agoI broke allbareconfig with half-finished cleanups I'd forgotten weren't done.
Rob Landley [Tue, 20 Jun 2006 17:43:01 +0000 (17:43 -0000)]
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...)

18 years agoThe type changed too.
Rob Landley [Tue, 20 Jun 2006 16:43:05 +0000 (16:43 -0000)]
The type changed too.

18 years agoUse the new names for tty_baud_to_value() and tty_value_to_baud() again.
Peter Kjellerstedt [Tue, 20 Jun 2006 16:35:37 +0000 (16:35 -0000)]
Use the new names for tty_baud_to_value() and tty_value_to_baud() again.

18 years agoRevert the last two patches to go back to a state before this file was
Rob Landley [Tue, 20 Jun 2006 16:17:24 +0000 (16:17 -0000)]
Revert the last two patches to go back to a state before this file was
controversial.

18 years agoPatch by Robert P. Day to make structs use c99 initializers.
Rob Landley [Tue, 20 Jun 2006 15:52:52 +0000 (15:52 -0000)]
Patch by Robert P. Day to make structs use c99 initializers.

18 years agoPatch from Robert P. J. Day cleaning up some unnecessary preprocessor
Rob Landley [Tue, 20 Jun 2006 14:57:00 +0000 (14:57 -0000)]
Patch from Robert P. J. Day cleaning up some unnecessary preprocessor
directives.

18 years agoAmrein-Marie Christophe pointed out that Mandrake changed its name.
Rob Landley [Tue, 20 Jun 2006 14:09:20 +0000 (14:09 -0000)]
Amrein-Marie Christophe pointed out that Mandrake changed its name.

18 years agoMake some 64 bit warnings go away on x86-64.
Rob Landley [Mon, 19 Jun 2006 03:20:03 +0000 (03:20 -0000)]
Make some 64 bit warnings go away on x86-64.

18 years agoUndo all of the ugliness and some of the bloat from 15412.
Rob Landley [Sun, 18 Jun 2006 23:59:03 +0000 (23:59 -0000)]
Undo all of the ugliness and some of the bloat from 15412.

18 years agoskip_whitespace() shouldn't claim its return value is const, it doesn't know
Rob Landley [Sun, 18 Jun 2006 20:20:07 +0000 (20:20 -0000)]
skip_whitespace() shouldn't claim its return value is const, it doesn't know
that and callers wind up typecasting it back.

18 years agoMake this slightly more readable, and expose the hypocrasy of a comment that
Rob Landley [Sun, 18 Jun 2006 15:23:13 +0000 (15:23 -0000)]
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.

18 years agodanf writes: stty doesn't support baud rates > 460800 bps, the attached patch adds...
Mike Frysinger [Sat, 17 Jun 2006 22:41:28 +0000 (22:41 -0000)]
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.

18 years agoMake it so Erik has to forward me less email.
Rob Landley [Fri, 16 Jun 2006 22:29:03 +0000 (22:29 -0000)]
Make it so Erik has to forward me less email.

18 years ago- add cross-reference generation target.
Bernhard Reutner-Fischer [Fri, 16 Jun 2006 17:19:39 +0000 (17:19 -0000)]
- add cross-reference generation target.
  Experimental.

18 years ago- do away with the fwd-decls of functions. Should not contain any code changes
Bernhard Reutner-Fischer [Fri, 16 Jun 2006 16:37:07 +0000 (16:37 -0000)]
- do away with the fwd-decls of functions. Should not contain any code changes
  AFAICT.

18 years agoRevert svn 15333. If you vfork, you must either exec or exit. (The parent is
Rob Landley [Fri, 16 Jun 2006 16:35:53 +0000 (16:35 -0000)]
Revert svn 15333.  If you vfork, you must either exec or exit.  (The parent is
blocked until you do so.)

18 years agoThis directory was fallout from the great feature freeze of 2003, which led
Rob Landley [Fri, 16 Jun 2006 15:08:59 +0000 (15:08 -0000)]
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.

18 years ago- hide CONFIG_GETOPT_LONG for the 1.2.0 release. Turned on per default.
Bernhard Reutner-Fischer [Fri, 16 Jun 2006 14:03:23 +0000 (14:03 -0000)]
- 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..

18 years ago- add patch to provide a target 'html' to build a cross-reference of the source
Bernhard Reutner-Fischer [Fri, 16 Jun 2006 12:45:29 +0000 (12:45 -0000)]
- add patch to provide a target 'html' to build a cross-reference of the source

18 years ago- add needed includes and include busybox.h needed for the ATTRIBUTE define.
Bernhard Reutner-Fischer [Fri, 16 Jun 2006 12:28:39 +0000 (12:28 -0000)]
- add needed includes and include busybox.h needed for the ATTRIBUTE define.

18 years agoRemove warnings caused by #include <sys/mount.h> in platform.h. Apparently
Rob Landley [Fri, 16 Jun 2006 04:25:19 +0000 (04:25 -0000)]
Remove warnings caused by #include <sys/mount.h> in platform.h.  Apparently
we redefine a lot of stuff from standard header files...

18 years agoPatch from Rich Felker:
Rob Landley [Thu, 15 Jun 2006 22:11:10 +0000 (22:11 -0000)]
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.

18 years ago- use shorter boilerplate, more accurate header guard
Bernhard Reutner-Fischer [Thu, 15 Jun 2006 21:56:28 +0000 (21:56 -0000)]
- use shorter boilerplate, more accurate header guard
- don't use multi-line string literals

18 years ago- drats.
Bernhard Reutner-Fischer [Thu, 15 Jun 2006 21:39:34 +0000 (21:39 -0000)]
- drats.

18 years ago- let the scripts be prerequisites of the files the generate
Bernhard Reutner-Fischer [Thu, 15 Jun 2006 21:35:35 +0000 (21:35 -0000)]
- let the scripts be prerequisites of the files the generate
- make sure that bbconfig isn't too stupid

18 years agoFix bug found by Joey Hess and forwarded by Bastian Bunk. Add Joey Hess's
Rob Landley [Thu, 15 Jun 2006 20:50:38 +0000 (20:50 -0000)]
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.