platform/upstream/busybox.git
18 years agoifupdown: style cleanup, no code changes
Denis Vlasenko [Tue, 26 Sep 2006 20:35:30 +0000 (20:35 -0000)]
ifupdown: style cleanup, no code changes

18 years agoseveral fixes from openWRT project
Denis Vlasenko [Tue, 26 Sep 2006 17:41:00 +0000 (17:41 -0000)]
several fixes from openWRT project

18 years agologin: fix getopt_ulflags fallout (wasn't taking username supplied by getty)
Denis Vlasenko [Tue, 26 Sep 2006 16:31:01 +0000 (16:31 -0000)]
login: fix getopt_ulflags fallout (wasn't taking username supplied by getty)

18 years agohttpd: sanitize indentation
Denis Vlasenko [Tue, 26 Sep 2006 10:07:41 +0000 (10:07 -0000)]
httpd: sanitize indentation

18 years agowget: add (configurable) large file support. Run tested.
Denis Vlasenko [Tue, 26 Sep 2006 09:22:12 +0000 (09:22 -0000)]
wget: add (configurable) large file support. Run tested.

18 years agofix 'grep -C' which requires an argument
Eric Andersen [Mon, 25 Sep 2006 22:18:56 +0000 (22:18 -0000)]
fix 'grep -C' which requires an argument

18 years agovlock: make message shorter
Denis Vlasenko [Sun, 24 Sep 2006 02:10:03 +0000 (02:10 -0000)]
vlock: make message shorter

18 years agomount: fix breakage from recent changes (spurious -ro mounts)
Denis Vlasenko [Sun, 24 Sep 2006 01:01:01 +0000 (01:01 -0000)]
mount: fix breakage from recent changes (spurious -ro mounts)

18 years agoAnother attempt at untangling the logic so the compiler can follow it and not
Rob Landley [Sat, 23 Sep 2006 19:56:21 +0000 (19:56 -0000)]
Another attempt at untangling the logic so the compiler can follow it and not
generate pointless warnings.

18 years agowget: fix bug where wget creates null file if there is no remote one.
Denis Vlasenko [Sat, 23 Sep 2006 17:49:09 +0000 (17:49 -0000)]
wget: fix bug where wget creates null file if there is no remote one.
add O_LARGEFILE support (not run tested :).

18 years agoapplets.c: fix indentation
Denis Vlasenko [Sat, 23 Sep 2006 16:34:39 +0000 (16:34 -0000)]
applets.c: fix indentation

18 years agoremove unneeded #includes, fix indentation
Denis Vlasenko [Sat, 23 Sep 2006 16:01:09 +0000 (16:01 -0000)]
remove unneeded #includes, fix indentation

18 years agoinetd: deindent main loop, other readability enhancements
Denis Vlasenko [Sat, 23 Sep 2006 15:58:01 +0000 (15:58 -0000)]
inetd: deindent main loop, other readability enhancements

18 years agohexdump: fixlet for my breakage
Denis Vlasenko [Sat, 23 Sep 2006 15:53:01 +0000 (15:53 -0000)]
hexdump: fixlet for my breakage

18 years agoinetd: reformat with tabs for indentation
Denis Vlasenko [Sat, 23 Sep 2006 15:18:38 +0000 (15:18 -0000)]
inetd: reformat with tabs for indentation

18 years agohexdump: deindent, almost fits into 80 columns now
Denis Vlasenko [Sat, 23 Sep 2006 13:31:46 +0000 (13:31 -0000)]
hexdump: deindent, almost fits into 80 columns now

18 years agocorrect_password: undo whitespace damage.
Denis Vlasenko [Sat, 23 Sep 2006 13:11:49 +0000 (13:11 -0000)]
correct_password: undo whitespace damage.
vlock + correct_password: fix incorrect line breaks in messages.

18 years agoifupdown: getopt_ulflags'ification.
Denis Vlasenko [Sat, 23 Sep 2006 12:49:01 +0000 (12:49 -0000)]
ifupdown: getopt_ulflags'ification.

18 years agoarping: fix bug (getopt_ulflags and optarg don't mix),
Denis Vlasenko [Sat, 23 Sep 2006 12:46:30 +0000 (12:46 -0000)]
arping: fix bug (getopt_ulflags and optarg don't mix),
remove unreachable error path.

18 years agoinsmod: getopt_ulflags'isation
Denis Vlasenko [Sat, 23 Sep 2006 12:32:58 +0000 (12:32 -0000)]
insmod: getopt_ulflags'isation

18 years agopasswd: getopt_ulflags'isation
Denis Vlasenko [Sat, 23 Sep 2006 12:30:03 +0000 (12:30 -0000)]
passwd: getopt_ulflags'isation

18 years agobb_askpass: shorten static password buffer. 256 is way too large.
Denis Vlasenko [Sat, 23 Sep 2006 12:22:11 +0000 (12:22 -0000)]
bb_askpass: shorten static password buffer. 256 is way too large.
simplify code a bit.

18 years agoFollow-up to 16172: this also doesn't produce a warning for me on gcc 4.1,
Rob Landley [Fri, 22 Sep 2006 19:11:59 +0000 (19:11 -0000)]
Follow-up to 16172: this also doesn't produce a warning for me on gcc 4.1,
without having to feed the compiler nonsense.

18 years ago"I'll think about it" != "apply it now". It means I need to think about it.
Rob Landley [Fri, 22 Sep 2006 18:47:45 +0000 (18:47 -0000)]
"I'll think about it" != "apply it now".  It means I need to think about it.

18 years agonetstat: getopt_ulflags'isation
Denis Vlasenko [Fri, 22 Sep 2006 16:02:40 +0000 (16:02 -0000)]
netstat: getopt_ulflags'isation

18 years agogzip: getopt_ulflags'isation
Denis Vlasenko [Fri, 22 Sep 2006 15:13:38 +0000 (15:13 -0000)]
gzip: getopt_ulflags'isation

18 years agolosetup: getopt_ulflags'ification + small fix for perror_nomsg
Denis Vlasenko [Fri, 22 Sep 2006 14:53:41 +0000 (14:53 -0000)]
losetup: getopt_ulflags'ification + small fix for perror_nomsg

18 years agoawk: getopt_ulflags'isation
Denis Vlasenko [Fri, 22 Sep 2006 09:02:30 +0000 (09:02 -0000)]
awk: getopt_ulflags'isation

18 years agosed: getopt_ulflags'isation
Denis Vlasenko [Fri, 22 Sep 2006 08:56:03 +0000 (08:56 -0000)]
sed: getopt_ulflags'isation

18 years agohostname: getopt_ulflags'isation
Denis Vlasenko [Fri, 22 Sep 2006 08:53:14 +0000 (08:53 -0000)]
hostname: getopt_ulflags'isation

18 years agotelnetd: getopt_ulflags'isation
Denis Vlasenko [Fri, 22 Sep 2006 08:50:29 +0000 (08:50 -0000)]
telnetd: getopt_ulflags'isation

18 years agoadjtimex: getopt_ulflags'isation
Denis Vlasenko [Fri, 22 Sep 2006 08:47:54 +0000 (08:47 -0000)]
adjtimex: getopt_ulflags'isation

18 years agologger: getopt_ulflags'isation
Denis Vlasenko [Fri, 22 Sep 2006 08:44:58 +0000 (08:44 -0000)]
logger: getopt_ulflags'isation

18 years agogetopt: fix whitespace damage
Denis Vlasenko [Fri, 22 Sep 2006 08:42:06 +0000 (08:42 -0000)]
getopt: fix whitespace damage

18 years agoreadprofile: getopt_ulflags'isation
Denis Vlasenko [Fri, 22 Sep 2006 08:39:49 +0000 (08:39 -0000)]
readprofile: getopt_ulflags'isation

18 years agoipcs: fix my recent breakage
Denis Vlasenko [Fri, 22 Sep 2006 08:30:52 +0000 (08:30 -0000)]
ipcs: fix my recent breakage

18 years ago- add new applet resize.
Bernhard Reutner-Fischer [Fri, 22 Sep 2006 08:18:41 +0000 (08:18 -0000)]
- add new applet resize.
   text    data     bss     dec     hex filename
    185       0       0     185      b9 console-tools/resize.o
    255       0       0     255      ff console-tools/resize.o.print

18 years agoChange license statements (and clean up headers) on some of the files that
Rob Landley [Fri, 22 Sep 2006 02:52:41 +0000 (02:52 -0000)]
Change license statements (and clean up headers) on some of the files that
Erik or I are primary copyright holders on.

18 years ago- update and expand TODO a little bit
Bernhard Reutner-Fischer [Thu, 21 Sep 2006 22:58:38 +0000 (22:58 -0000)]
- update and expand TODO a little bit

18 years ago- pull r15578 from busybox_scratch branch:
Bernhard Reutner-Fischer [Thu, 21 Sep 2006 22:10:24 +0000 (22:10 -0000)]
- pull r15578 from busybox_scratch branch:
  - fix bug where it would behave wrong if ./nohup.out was not writable.
  - debloat and make it readable while at it.
$ size coreutils/nohup.o*
   text    data     bss     dec     hex filename
    362       0       0     362     16a coreutils/nohup.o.trunk
    344       0       0     344     158 coreutils/nohup.o
$ make bloatcheck
function                                             old     new   delta
nohup_main                                           324     310     -14
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 0/1 up/down: 0/-14)             Total: -14 bytes

18 years ago- silence gcc warning about a funcptr possibly being used uninitialized.
Bernhard Reutner-Fischer [Thu, 21 Sep 2006 20:40:56 +0000 (20:40 -0000)]
- silence gcc warning about a funcptr possibly being used uninitialized.
  This is a perfect example on where we should NOT care if the functor is not
  initialized since the result will not be what the user may expect.
  Safe bet would be to init to NULL, but let's try normal uu for good measure.
- fix commentary typo while at it.

18 years agomount: nfs mount should enable bb_error-to-syslog support
Denis Vlasenko [Thu, 21 Sep 2006 12:30:16 +0000 (12:30 -0000)]
mount: nfs mount should enable bb_error-to-syslog support

18 years ago- gcc-2.95 doesn't support -static-libgcc
Bernhard Reutner-Fischer [Thu, 21 Sep 2006 11:54:51 +0000 (11:54 -0000)]
- gcc-2.95 doesn't support -static-libgcc
- remove Winline

18 years agomount: make Rob happy by reinstating #defines
Denis Vlasenko [Thu, 21 Sep 2006 11:13:08 +0000 (11:13 -0000)]
mount: make Rob happy by reinstating #defines

18 years agoTeach get_terminal_width_height to fall back to $LINES and $COLUMNS when
Rob Landley [Wed, 20 Sep 2006 22:06:01 +0000 (22:06 -0000)]
Teach get_terminal_width_height to fall back to $LINES and $COLUMNS when
used via things like a serial console.

18 years agoThe version checked into the tree is a snapshot of an unifinished applet, and
Rob Landley [Wed, 20 Sep 2006 21:57:36 +0000 (21:57 -0000)]
The version checked into the tree is a snapshot of an unifinished applet, and
you just made lots of ">>>>>>> mine" lines show up in my working copy of this.

Please don't do that again.

18 years agoThe Software Freedom Law Center wants us to add a copyright notice to the
Rob Landley [Wed, 20 Sep 2006 21:41:13 +0000 (21:41 -0000)]
The Software Freedom Law Center wants us to add a copyright notice to the
generated binaries, to make copyright enforcement easier.  Our liason with
them (Bradley Kuhn) suggested the following text:

> Copyright (C) YEAR-2006  Erik Andersen, Rob Landley, and others.
> Licensed under GPLv2.  See source distribution for full notice.

And the busybox help message seems the least offensive place to put it.  (At
some point in the future, I need to strip 128 bytes from the binary to feel
good about this, though. :)

Minor header file cleanup while I was there, since libbb.h already #includes
most of that stuff...

18 years agoLicense clarification.
Rob Landley [Wed, 20 Sep 2006 20:01:29 +0000 (20:01 -0000)]
License clarification.

18 years ago- fix documentation for the command-line options of ipcs. Closes #1036
Bernhard Reutner-Fischer [Wed, 20 Sep 2006 15:56:53 +0000 (15:56 -0000)]
- fix documentation for the command-line options of ipcs. Closes #1036

18 years ago- fix embarrassing typo of mine. Closes bug #1038
Bernhard Reutner-Fischer [Wed, 20 Sep 2006 15:29:13 +0000 (15:29 -0000)]
- fix embarrassing typo of mine. Closes bug #1038

18 years agoipcs: fix output (misaligned columns)
Denis Vlasenko [Tue, 19 Sep 2006 17:43:56 +0000 (17:43 -0000)]
ipcs: fix output (misaligned columns)

18 years agoipcs: getopt_ulflag'ification, -170 bytes
Denis Vlasenko [Tue, 19 Sep 2006 17:40:31 +0000 (17:40 -0000)]
ipcs: getopt_ulflag'ification, -170 bytes

18 years agostty: fix few bugs found in testing
Denis Vlasenko [Tue, 19 Sep 2006 15:12:12 +0000 (15:12 -0000)]
stty: fix few bugs found in testing

18 years agogetty: oops... removing duplicate #include <syslog.h>
Denis Vlasenko [Tue, 19 Sep 2006 14:47:54 +0000 (14:47 -0000)]
getty: oops... removing duplicate #include <syslog.h>

18 years agostty: reorder code, reducing need in forward declarations.
Denis Vlasenko [Tue, 19 Sep 2006 14:31:44 +0000 (14:31 -0000)]
stty: reorder code, reducing need in forward declarations.
added few missed bits of error checking for parameters.

18 years agostty: convert "enum mode_type" into unnamed enum
Denis Vlasenko [Tue, 19 Sep 2006 14:24:23 +0000 (14:24 -0000)]
stty: convert "enum mode_type" into unnamed enum
(reduces code obfuscation); deindent set_mode;
add _or_die suffixes to few functions

18 years agostty: reduce #ifdef forest
Denis Vlasenko [Tue, 19 Sep 2006 14:20:22 +0000 (14:20 -0000)]
stty: reduce #ifdef forest

18 years agostty: simplify linewrapping code a bit
Denis Vlasenko [Tue, 19 Sep 2006 14:19:42 +0000 (14:19 -0000)]
stty: simplify linewrapping code a bit

18 years agostty: style fixes
Denis Vlasenko [Tue, 19 Sep 2006 14:17:10 +0000 (14:17 -0000)]
stty: style fixes

18 years agostty: fix a longstanding FIXME (was able to die half-way setting term params)
Denis Vlasenko [Tue, 19 Sep 2006 14:16:28 +0000 (14:16 -0000)]
stty: fix a longstanding FIXME (was able to die half-way setting term params)

18 years agomount: fstabname needs to be const char*
Denis Vlasenko [Tue, 19 Sep 2006 14:14:12 +0000 (14:14 -0000)]
mount: fstabname needs to be const char*

18 years agomount: fix warning (printf field width of * wants int, not size_t)
Denis Vlasenko [Tue, 19 Sep 2006 14:07:52 +0000 (14:07 -0000)]
mount: fix warning (printf field width of * wants int, not size_t)

18 years agogetty: #include <syslog.h>
Denis Vlasenko [Tue, 19 Sep 2006 13:50:55 +0000 (13:50 -0000)]
getty: #include <syslog.h>

18 years agochange char *string = "foo" -> char string[] = "foo"
Denis Vlasenko [Tue, 19 Sep 2006 09:55:09 +0000 (09:55 -0000)]
change char *string = "foo"  -> char string[] = "foo"
function                                             old     new   delta
xsetenv                                               45      44      -1
iproute_list_or_flush                               1834    1833      -1
ipaddr_modify                                       1915    1914      -1
ipaddr_list_or_flush                                1861    1860      -1
invarg                                                39      38      -1
do_set                                              1259    1258      -1
bb_verror_msg                                        268     267      -1
create_icmp_socket                                   142     140      -2
create_icmp6_socket                                  142     140      -2
bb_full_fd_action                                    324     322      -2
bb_path_mtab_file                                     10       -     -10
.rodata                                           214796  214720     -76
------------------------------------------------------------------------------
(add/remove: 0/1 grow/shrink: 0/11 up/down: 0/-99)            Total: -99 bytes

18 years agowhitespace cleanup
Denis Vlasenko [Sun, 17 Sep 2006 16:28:10 +0000 (16:28 -0000)]
whitespace cleanup

18 years agomount: style fixlet
Denis Vlasenko [Sun, 17 Sep 2006 15:51:52 +0000 (15:51 -0000)]
mount: style fixlet

18 years agostyle fixes
Denis Vlasenko [Sun, 17 Sep 2006 15:45:48 +0000 (15:45 -0000)]
style fixes

18 years agomount: revert mount --bind to using "bind" as fstype.
Denis Vlasenko [Sun, 17 Sep 2006 15:39:22 +0000 (15:39 -0000)]
mount: revert mount --bind to using "bind" as fstype.

18 years agomount: mount_it_now() - char *dir is not really needed.
Denis Vlasenko [Sun, 17 Sep 2006 15:09:48 +0000 (15:09 -0000)]
mount: mount_it_now() - char *dir is not really needed.

18 years agomount: fix "duplicate mount options in mtab" bug
Denis Vlasenko [Sun, 17 Sep 2006 15:08:12 +0000 (15:08 -0000)]
mount: fix "duplicate mount options in mtab" bug

18 years agomount: nfs_strerror's static buffer was bigger than needed.
Denis Vlasenko [Sun, 17 Sep 2006 15:06:34 +0000 (15:06 -0000)]
mount: nfs_strerror's static buffer was bigger than needed.

18 years agomount: getopt_ulflag'ification
Denis Vlasenko [Sun, 17 Sep 2006 15:05:31 +0000 (15:05 -0000)]
mount: getopt_ulflag'ification

18 years agomount: style fixes
Denis Vlasenko [Sun, 17 Sep 2006 15:04:35 +0000 (15:04 -0000)]
mount: style fixes

18 years agomount: fix bugs: free(mp->mnt_fsname) of non-malloced ptr;
Denis Vlasenko [Sun, 17 Sep 2006 15:04:01 +0000 (15:04 -0000)]
mount: fix bugs: free(mp->mnt_fsname) of non-malloced ptr;
check for "more than 2 arguments" was actually checking for -2.

18 years agomount: use bb_simplify_path as appropriate
Denis Vlasenko [Sun, 17 Sep 2006 15:01:53 +0000 (15:01 -0000)]
mount: use bb_simplify_path as appropriate

18 years agomount: style fixes
Denis Vlasenko [Sun, 17 Sep 2006 15:00:58 +0000 (15:00 -0000)]
mount: style fixes

18 years agologin: apply fixes + getopt_ulflag'ification by Bernhard
Denis Vlasenko [Sun, 17 Sep 2006 14:45:09 +0000 (14:45 -0000)]
login: apply fixes + getopt_ulflag'ification by Bernhard

18 years ago- Steven Scholz pointed out that ssd's make-pid doesn't take an argument.
Bernhard Reutner-Fischer [Fri, 15 Sep 2006 19:25:18 +0000 (19:25 -0000)]
- Steven Scholz pointed out that ssd's make-pid doesn't take an argument.

18 years agomount: reorder things, fix NFS-less mount.
Denis Vlasenko [Fri, 15 Sep 2006 15:12:00 +0000 (15:12 -0000)]
mount: reorder things, fix NFS-less mount.

18 years agoUnbreak allbareconfig.
Rob Landley [Fri, 15 Sep 2006 04:10:05 +0000 (04:10 -0000)]
Unbreak allbareconfig.

18 years agoSo, in the cornucopia of superfulous warning directives I didn't add to the
Rob Landley [Fri, 15 Sep 2006 04:08:25 +0000 (04:08 -0000)]
So, in the cornucopia of superfulous warning directives I didn't add to the
tree, we have the warning about failed inlines (which with our inline
limit set to zero means any usage of the "inline" keyword at all).  Note
that setting the inline limit to zero, and using -Werror, both predated
adding the warning about inlines to the tree.  So whatever checkin added
that did nothing but break the tree.  But oh well.

The second category of superfluous warnings is warning about functions with
no previous declaration.  Apparently, if you add ALWAYS_INLINE to an empty
function definition, it considers the sucker undeclared as far as the
warning is concerned.  (I.E. it's a buggy warning.  I try not to ask the
compiler to generate warnings it can't competently generate.)

This is why I removed "inline" (unbreak allbareconfig), and couldn't replace it
with "ALWAYS_INLINE" (still broke allbareconfig).

18 years agoUnbreak allbareconfig.
Rob Landley [Fri, 15 Sep 2006 04:01:03 +0000 (04:01 -0000)]
Unbreak allbareconfig.

We've had -Werror in the tree for quite a while, so adding #warning
somewhat counterproductve way to make comments on the code that belong on the
mailing list anyway.

18 years agoStrangely, using // in the comments I added was not a persistent accident.
Rob Landley [Thu, 14 Sep 2006 19:52:07 +0000 (19:52 -0000)]
Strangely, using // in the comments I added was not a persistent accident.

18 years agologin: eliminate forward decls and #ifdefs
Denis Vlasenko [Thu, 14 Sep 2006 17:03:18 +0000 (17:03 -0000)]
login: eliminate forward decls and #ifdefs

18 years agoumount: do not try to close FILE* which is NULL.
Denis Vlasenko [Thu, 14 Sep 2006 16:40:46 +0000 (16:40 -0000)]
umount: do not try to close FILE* which is NULL.

18 years agomount: -o remount should not add lines to /etc/mtab
Denis Vlasenko [Thu, 14 Sep 2006 16:09:27 +0000 (16:09 -0000)]
mount: -o remount should not add lines to /etc/mtab

18 years agomount: move code from nfsmount.c into mount.c
Denis Vlasenko [Thu, 14 Sep 2006 15:46:33 +0000 (15:46 -0000)]
mount: move code from nfsmount.c into mount.c

18 years ago- make sure that the 'build' dir exists even if we are about to build just one applet.
Bernhard Reutner-Fischer [Thu, 14 Sep 2006 15:07:48 +0000 (15:07 -0000)]
- make sure that the 'build' dir exists even if we are about to build just one applet.

18 years ago- do away with silly comment and do the Right Thing wrt building the archives.
Bernhard Reutner-Fischer [Thu, 14 Sep 2006 15:04:31 +0000 (15:04 -0000)]
- do away with silly comment and do the Right Thing wrt building the archives.
  You have to provide the absolute path to the objdir/target.ext you want to build, as can be seen in the respective makefiles..

18 years agomount: fix mtab support (but it is still rather buggy)
Denis Vlasenko [Thu, 14 Sep 2006 13:19:19 +0000 (13:19 -0000)]
mount: fix mtab support (but it is still rather buggy)

18 years agosvn 15355 replaced "BusyBox is licensed under the GNU General Public Public
Rob Landley [Thu, 14 Sep 2006 05:59:32 +0000 (05:59 -0000)]
svn 15355 replaced "BusyBox is licensed under the GNU General Public Public
License" with "BusyBox is licensed under the GNU General Public
License version 2 or later... (This is the same license the Linux kernel
is under...)"  Except that the Linux kernel isn't under GPLv2 or later,
it's just under GPLv2.

Now they match again.

18 years agoMore code from kernel developers, and therefore licensed under GPLv2 only.
Rob Landley [Thu, 14 Sep 2006 05:27:28 +0000 (05:27 -0000)]
More code from kernel developers, and therefore licensed under GPLv2 only.
Clarify the license boilerplate.

On an unrelated note, this could use busyboxification.  check_mount() looks
reusable and ask() is generic...

18 years agoAdd Larry Doolittle's ntpclient, plus some formatting tweaks.
Rob Landley [Wed, 13 Sep 2006 19:54:36 +0000 (19:54 -0000)]
Add Larry Doolittle's ntpclient, plus some formatting tweaks.

18 years ago- fix copy'n paste errors that got introduced when switching to the shorter boilerplate.
Bernhard Reutner-Fischer [Wed, 13 Sep 2006 16:39:19 +0000 (16:39 -0000)]
- fix copy'n paste errors that got introduced when switching to the shorter boilerplate.
  No object code changes.

18 years ago- r16075 broke for de-selected FEATURE_UTMP; Partial fix that wants some more cleanup...
Bernhard Reutner-Fischer [Wed, 13 Sep 2006 15:42:47 +0000 (15:42 -0000)]
- r16075 broke for de-selected FEATURE_UTMP; Partial fix that wants some more cleanup (see FIXME in the patch).

18 years agoRevert duplicate patch.
Rob Landley [Tue, 12 Sep 2006 22:42:03 +0000 (22:42 -0000)]
Revert duplicate patch.

I don't know why patch decided to apply this even though it was already in
the tree.  I thought the other hunks failed because they were totally
unrelated leakage from Bernhard's tree (which they are; was the a reason
for bundling them in with this fix?  Do they have something to do with
the GCC 2.95 fix?  I suspect they prevent me from backporting this
patch to 1.2.2 because the header consolidation into libbb.h hadn't
been done yet, and no I'm not fixing it up: if that's the case then
this patch won't be in 1.2.2 due to extraneous changes bundled with it that
prevent a clean backport without rolling a new patch).

18 years agoRemove pointless "const". Bloatcheck says 0 bytes difference.
Rob Landley [Tue, 12 Sep 2006 21:42:17 +0000 (21:42 -0000)]
Remove pointless "const".  Bloatcheck says 0 bytes difference.

18 years agoFix from Bernhard for somebody trying to limp along with gcc 2.95.4.
Rob Landley [Tue, 12 Sep 2006 20:29:22 +0000 (20:29 -0000)]
Fix from Bernhard for somebody trying to limp along with gcc 2.95.4.

18 years agoRandom cleanup hanging around my tree.
Rob Landley [Tue, 12 Sep 2006 20:28:34 +0000 (20:28 -0000)]
Random cleanup hanging around my tree.

18 years ago- small trivia to be gentle to gcc-2.95.x which had no va_copy but only __va_copy.
Bernhard Reutner-Fischer [Tue, 12 Sep 2006 13:27:55 +0000 (13:27 -0000)]
- small trivia to be gentle to gcc-2.95.x which had no va_copy but only __va_copy.