oweals/busybox.git
20 years agoAdd missing include files
Eric Andersen [Sat, 27 Mar 2004 11:26:32 +0000 (11:26 -0000)]
Add missing include files

20 years agopasswd and sulogin also need libcrypt, via libbb/pw_encrypt()
Eric Andersen [Sat, 27 Mar 2004 10:08:53 +0000 (10:08 -0000)]
passwd and sulogin also need libcrypt, via libbb/pw_encrypt()

20 years agos/fileno\(stdin\)/STDIN_FILENO/g
Eric Andersen [Sat, 27 Mar 2004 10:02:48 +0000 (10:02 -0000)]
s/fileno\(stdin\)/STDIN_FILENO/g
s/fileno\(stdout\)/STDOUT_FILENO/g

20 years agoVladimir N. Oleynik (vodz) writes:
Eric Andersen [Sat, 27 Mar 2004 09:49:57 +0000 (09:49 -0000)]
Vladimir N. Oleynik (vodz) writes:

Ok. Last patch reduce 73 bytes for compensate (and over) your changes ;-)

Comments:
Added cin_fileno variable, auto setted to 0 from BSS and have "eq" stdin
descriptor if isatty(stout)==0, removed global variable FILE* cin.
Removed default setting to terminal_width/terminal_height, this used
only from main() and setted after call get_terminal_width_height()
always correct.
Variable please_display_more_prompt changed to bits logic, have size
reducing.
--w
vodz

20 years agoUpdate docs
Eric Andersen [Sat, 27 Mar 2004 09:40:15 +0000 (09:40 -0000)]
Update docs

20 years agoBrian Pomerantz writes:
Eric Andersen [Tue, 23 Mar 2004 23:15:36 +0000 (23:15 -0000)]
Brian Pomerantz writes:

I've noticed a bug in the "autowidth" feature more, and is probably in
others.  The call to the function get_terminal_width_height() passes
in a file descriptor but that file descriptor is never used, instead
the ioctl() is called with 0.  In more_main() the call to
get_terminal_width_height() passes 0 as the file descriptor instead of
fileno(cin).  This isn't a problem when you more a file (e.g. "more
/etc/passwd") but when you pipe a file to it (e.g. "cat /etc/passwd |
more") the size of the terminal cannot be determined because file
descriptor 0 is not a terminal.  The fix is simple, I've attached a
patch for more.c and get_terminal_width_height.c.

BAPper

20 years agoSome corrections from vodz:
Robert Griebl [Mon, 22 Mar 2004 21:27:39 +0000 (21:27 -0000)]
Some corrections from vodz:
- Make -u/-l mutually exclusive
- Minor size reduction

20 years agoThe utc variable was not modified according to the -u/-l command line
Robert Griebl [Sun, 21 Mar 2004 18:01:46 +0000 (18:01 -0000)]
The utc variable was not modified according to the -u/-l command line
parameters.

20 years agoTito noticed a printf that should have been a bb_error_msg.
Eric Andersen [Sat, 20 Mar 2004 00:56:46 +0000 (00:56 -0000)]
Tito noticed a printf that should have been a bb_error_msg.

20 years agoOops.. got a bit to aggressive with size optimization and global replace. :-(
Manuel Novoa III [Fri, 19 Mar 2004 23:27:08 +0000 (23:27 -0000)]
Oops.. got a bit to aggressive with size optimization and global replace.  :-(

20 years agoAs noted in a patch from Kendrick Hamilton, rmmod was only
Eric Andersen [Fri, 19 Mar 2004 21:00:03 +0000 (21:00 -0000)]
As noted in a patch from Kendrick Hamilton, rmmod was only
half way converted, and still used the old delete_module(),
call rather than a syscall, in one spot.

20 years agoAdd missing ELFCLASSM for m68k
Eric Andersen [Fri, 19 Mar 2004 12:17:04 +0000 (12:17 -0000)]
Add missing ELFCLASSM for m68k

20 years agoOnly use R_68K_GOTOFF if it is defined
Eric Andersen [Fri, 19 Mar 2004 12:16:18 +0000 (12:16 -0000)]
Only use R_68K_GOTOFF if it is defined

20 years agoFix broken arg parsing (was not passing pointer to items so p, argc, and argv
Eric Andersen [Fri, 19 Mar 2004 10:53:52 +0000 (10:53 -0000)]
Fix broken arg parsing (was not passing pointer to items so p, argc, and argv
were only modified locally).  Fix error reporting to properly describe why
ioctls fail.

20 years agoPatch from vodz to fix the dynamic vars patch, which I should not
Eric Andersen [Tue, 16 Mar 2004 05:14:10 +0000 (05:14 -0000)]
Patch from vodz to fix the dynamic vars patch, which I should not
have checked in.  Vladimir writes:

Your patch have many problem.
1. You always added + time(). This cannot reset RANDOM=value for debuging
with
replay sequential.
2. Hmm. I examine bash 2.04 source. This pseudorandom generator use low bits
of
counter value. You use high bits. This make bad pseudorandom values after
have
0-value. For example, if + time() do remove, your generator always return 0
after
first generate 0.
3. Memory leak per call. Use ash-unlike unecessary bb_strdup function.
4. Unsupport show last $RANDOM value for "set" and "export" command.
5. Bloat code. Busybox-unlike patch - added unstandart feature as default
hardcode.

Last patch attached.

Erik, why you apply Paul patch with have 5-th point problem? :(

Last patch have ash change xwrite() to fresh libbb/bb_full_write interfase
(haved loop after EINTR).

--w
vodz

20 years agoOops. Using the wrong variable was a rather stupid
Eric Andersen [Mon, 15 Mar 2004 08:46:37 +0000 (08:46 -0000)]
Oops.  Using the wrong variable was a rather stupid
thing for me to do.

20 years agoRemove trailing whitespace. Update copyright to include 2004.
Eric Andersen [Mon, 15 Mar 2004 08:29:22 +0000 (08:29 -0000)]
Remove trailing whitespace.  Update copyright to include 2004.

20 years agoI redid route.
Manuel Novoa III [Sat, 13 Mar 2004 18:17:37 +0000 (18:17 -0000)]
I redid route.

20 years agoUpdate docs for start_stop_daemon to match reality. Update
Eric Andersen [Sat, 13 Mar 2004 08:33:10 +0000 (08:33 -0000)]
Update docs for start_stop_daemon to match reality.  Update
the reality a bit to better match debian behavior.

20 years agoFix some doc generation problems
Eric Andersen [Sat, 13 Mar 2004 08:32:14 +0000 (08:32 -0000)]
Fix some doc generation problems

20 years agoHideki IWAMOTO writes:
Eric Andersen [Fri, 12 Mar 2004 22:10:40 +0000 (22:10 -0000)]
Hideki IWAMOTO writes:

Current `tr' implementation has a problem, if `plain char' is signed.

[current cvs version]

>echo a | _install/usr/bin/tr '\0' '\377'
Segmentation fault (core dumped)

[patched version]

>echo a | _install/usr/bin/tr '\0' '\377'
a

20 years agoFix some goofy formatting
Eric Andersen [Fri, 12 Mar 2004 22:08:42 +0000 (22:08 -0000)]
Fix some goofy formatting

20 years agoAdd prototypes for safe_strtol and friends
Eric Andersen [Fri, 12 Mar 2004 22:08:13 +0000 (22:08 -0000)]
Add prototypes for safe_strtol and friends

20 years agoFix awk entry, which was not showing up in BusyBox.txt for some reason
Eric Andersen [Fri, 12 Mar 2004 22:07:10 +0000 (22:07 -0000)]
Fix awk entry, which was not showing up in BusyBox.txt for some reason

20 years agoPaul Mundt, lethal at linux-sh dot org writes:
Eric Andersen [Thu, 11 Mar 2004 13:34:24 +0000 (13:34 -0000)]
Paul Mundt, lethal at linux-sh dot org writes:

Here's a follow-up replacement to the patch I sent earlier, this adjusts some
of the semantics of the dynamic variable setting. Namely, dynamic vars can hook
a set handler (which RANDOM uses to adjust the seed). They'll only lose their
dynamic status if they're unset.

I've used the same approach that bash does to come up with the random number,
mostly just for consistency.

For example:

$ echo $RANDOM
13759
$ echo $RANDOM
20057
$ echo $RANDOM
1502
$ export RANDOM=42
$ echo $RANDOM
24179
$ echo $RANDOM
2046
$ unset RANDOM
$ echo $RANDOM

$ export RANDOM=42
$ echo $RANDOM
42
$

20 years agoPatch from Thomas Frohlich to fix an option ordering bug of mine.
Glenn L McGrath [Wed, 10 Mar 2004 10:47:37 +0000 (10:47 -0000)]
Patch from Thomas Frohlich to fix an option ordering bug of mine.

20 years agoWhen displaying the size in 1kB blocks round up if an odd number of
Glenn L McGrath [Wed, 10 Mar 2004 09:58:51 +0000 (09:58 -0000)]
When displaying the size in 1kB blocks round up if an odd number of
blocks

20 years agoPatch by Seth W. Klein, the -l switch was reversed
Glenn L McGrath [Wed, 10 Mar 2004 09:10:53 +0000 (09:10 -0000)]
Patch by Seth W. Klein, the -l switch was reversed

20 years agoIn spite of the feature freeze, check in a complete rework of route which
Manuel Novoa III [Wed, 10 Mar 2004 07:42:38 +0000 (07:42 -0000)]
In spite of the feature freeze, check in a complete rework of route which
fixes some bugs, adds some error checking, and removes _lots_ of bloat.
Text size on i386...
              old     new
   ipv6      5425    3523
   no ipv6   3143    2193

20 years agoNote that /proc must be mounted for filesystem type autodetection
Eric Andersen [Tue, 9 Mar 2004 21:32:57 +0000 (21:32 -0000)]
Note that /proc must be mounted for filesystem type autodetection
to work.  Without /proc mounted, one must explicitly specify the
type of every filesystem being mounted.

20 years agoDavid Anders (prpplague) submitted this patch to allow login to work
Eric Andersen [Tue, 9 Mar 2004 21:27:32 +0000 (21:27 -0000)]
David Anders (prpplague) submitted this patch to allow login to work
when the device nodes are symlinks on a read only file system.

20 years agoFix broken sort order flags.
Manuel Novoa III [Mon, 8 Mar 2004 10:54:29 +0000 (10:54 -0000)]
Fix broken sort order flags.

20 years agoMy bug. :-(
Manuel Novoa III [Mon, 8 Mar 2004 05:44:30 +0000 (05:44 -0000)]
My bug.  :-(

20 years agoFix/eliminate use of atol
Eric Andersen [Sat, 6 Mar 2004 22:11:45 +0000 (22:11 -0000)]
Fix/eliminate use of atol

20 years agoPatch from Matt Kraai to fix debian bug number 231994.
Glenn L McGrath [Sat, 6 Mar 2004 09:12:55 +0000 (09:12 -0000)]
Patch from Matt Kraai to fix debian bug number 231994.
There was an extra blank line preceding the first directory.

20 years agoWoops, how did that get in there
Glenn L McGrath [Sat, 6 Mar 2004 07:38:27 +0000 (07:38 -0000)]
Woops, how did that get in there

20 years agoDon't build these support functions for uClibc, as it always supplies
Manuel Novoa III [Sat, 6 Mar 2004 00:32:54 +0000 (00:32 -0000)]
Don't build these support functions for uClibc, as it always supplies
versions.

20 years agoPatch from John Powers, adds multicast (rfc2090) and timeout (rfc2349)
Glenn L McGrath [Fri, 5 Mar 2004 15:52:57 +0000 (15:52 -0000)]
Patch from John Powers, adds multicast (rfc2090) and timeout (rfc2349)
options

20 years agoPatch from duane no-name, optionally request additional items
Glenn L McGrath [Fri, 5 Mar 2004 14:35:00 +0000 (14:35 -0000)]
Patch from duane no-name, optionally request additional items

20 years agoPatch by Andrew Victor,
Glenn L McGrath [Fri, 5 Mar 2004 14:25:49 +0000 (14:25 -0000)]
Patch by Andrew Victor,
In arpping.h, fix structure alignment of "struct arpMsg".
GCC can insert padding in the structure which causes udhcpd to send an
invalid ARP packet on the network.  It will then not receive a valid
reply, which can cause it to assign an IP address that's already in use
on the network.
(With kernels before 2.4.20, the "struct ethhdr" in linux/if_ether.h
wasn't marked as packed.  This is also an issue if your toolchain was
built with a pre-2.4.20 kernel).

20 years agoFix a typo, patch by Andrew Victor
Glenn L McGrath [Fri, 5 Mar 2004 14:23:16 +0000 (14:23 -0000)]
Fix a typo, patch by Andrew Victor

20 years agoPatch from Tony J. White to allow paths to be configured
Glenn L McGrath [Fri, 5 Mar 2004 13:23:40 +0000 (13:23 -0000)]
Patch from Tony J. White to allow paths to be configured

20 years agoPatch by Denis Vlasenko to add forground support.
Glenn L McGrath [Fri, 5 Mar 2004 13:11:05 +0000 (13:11 -0000)]
Patch by Denis Vlasenko to add forground support.

20 years agoFix debugging output, patch by Hideki IWAMOTO
Glenn L McGrath [Fri, 5 Mar 2004 13:04:39 +0000 (13:04 -0000)]
Fix debugging output, patch by Hideki IWAMOTO

20 years agoPatch by Felipe Kellermann to fix a compiler compatability problem
Glenn L McGrath [Fri, 5 Mar 2004 12:55:30 +0000 (12:55 -0000)]
Patch by Felipe Kellermann to fix a compiler compatability problem

20 years agoPatch from Steven Scholz to fix compiler warnings
Glenn L McGrath [Fri, 5 Mar 2004 09:38:16 +0000 (09:38 -0000)]
Patch from Steven Scholz to fix compiler warnings

20 years agoNew applet, eject, by Peter Willis
Glenn L McGrath [Fri, 5 Mar 2004 07:26:28 +0000 (07:26 -0000)]
New applet, eject, by Peter Willis

20 years agoClose bracket in description from Peter Willis's eject applet
Glenn L McGrath [Fri, 5 Mar 2004 06:47:25 +0000 (06:47 -0000)]
Close bracket in description from Peter Willis's eject applet

20 years agoPatch from Vernon Sauder.
Glenn L McGrath [Fri, 5 Mar 2004 05:47:19 +0000 (05:47 -0000)]
Patch from Vernon Sauder.
The off_t type is not a consistent size; it depends on the kernel options
(something about large file support). Therefore, the format string for
printing an address is not always the same.

20 years agoFix a compile error identiefied by Steven Scholz.
Glenn L McGrath [Wed, 3 Mar 2004 21:12:16 +0000 (21:12 -0000)]
Fix a compile error identiefied by Steven Scholz.
Declare variables first for compatability.

20 years agoCheck file has execute permission for the current user, minor formating
Glenn L McGrath [Mon, 1 Mar 2004 08:32:49 +0000 (08:32 -0000)]
Check file has execute permission for the current user, minor formating

20 years agoQuick fix for tftp truncation bug
Glenn L McGrath [Thu, 26 Feb 2004 07:47:20 +0000 (07:47 -0000)]
Quick fix for tftp truncation bug

20 years agoPatch from Denis Dowling to fix a ocuple of usage entries
Glenn L McGrath [Wed, 25 Feb 2004 10:35:55 +0000 (10:35 -0000)]
Patch from Denis Dowling to fix a ocuple of usage entries

20 years agoFix option handling, -i or -t must be given, if both ignore the -t.
Glenn L McGrath [Wed, 25 Feb 2004 09:30:06 +0000 (09:30 -0000)]
Fix option handling, -i or -t must be given, if both ignore the -t.
Use bb_getopt_ulflags.

20 years agoJoe.C, joe at numa dot com dot tw writes:
Eric Andersen [Tue, 24 Feb 2004 07:28:38 +0000 (07:28 -0000)]
Joe.C, joe at numa dot com dot tw writes:

Hi,

When downloading files over slow network (e.g. wireless/
internet) using IE, sometimes it will stop downloading and
show error message 'connection closed' when the download
is almost complete. This is because IE can't handle server
close connection properly.

Apache http_main.c fix this problem by close the connection
after client close the connection. This patch do exactly the
same thing. Please consider include this patch.

Joe.C

20 years agoPrepare for release 1_00_pre8
Eric Andersen [Mon, 23 Feb 2004 09:14:07 +0000 (09:14 -0000)]
Prepare for release

20 years agobb_full_fd_action was incorrectly returning an error message causing
Glenn L McGrath [Mon, 23 Feb 2004 08:11:07 +0000 (08:11 -0000)]
bb_full_fd_action was incorrectly returning an error message causing
major breaking.

20 years agoBump up version in preparation for -pre8
Eric Andersen [Sun, 22 Feb 2004 12:27:04 +0000 (12:27 -0000)]
Bump up version in preparation for -pre8

20 years agoFernando Silveira writes:
Eric Andersen [Sun, 22 Feb 2004 12:25:47 +0000 (12:25 -0000)]
Fernando Silveira writes:

Hi,

  Well, I made this patch a long time ago (08/2002) because it was a
  need of a project, but had no time to send it to you. It adds support
  to `autologin' option of the telnet protocol. It has been used since
  made with busybox 0.60.3 at production and I had no problems with it.
  I have ported it to the HEAD revision of the CVS server (20040211) and
  I hope you enjoy and apply it to the official sources. :)

Thanks a lot!

20 years agoFix from Paul Kortekaas for syslog -C option, size should be in kB.
Glenn L McGrath [Sun, 22 Feb 2004 12:17:33 +0000 (12:17 -0000)]
Fix from Paul Kortekaas for syslog -C option, size should be in kB.

20 years agoPatch from Dmitry Zakharov, this line was missedfrom the last patch
Glenn L McGrath [Sun, 22 Feb 2004 11:55:09 +0000 (11:55 -0000)]
Patch from Dmitry Zakharov, this line was missedfrom the last patch

20 years agoFor the time being, revert the changes for detecting copying
Eric Andersen [Sun, 22 Feb 2004 11:46:49 +0000 (11:46 -0000)]
For the time being, revert the changes for detecting copying
a directory into itself.  It is harder to do this correctly
than it appears.  Not trying at all seems a better compromise
for the time being, untill we can implement this correctly.

20 years agoPatch from Chris Larson (kergoth), to allow multiple directores to be
Glenn L McGrath [Sun, 22 Feb 2004 11:35:13 +0000 (11:35 -0000)]
Patch from Chris Larson (kergoth), to allow multiple directores to be
unmounted at once.

20 years agoPatch from Vodz, cleanup memory usage, send strdup error messages to
Glenn L McGrath [Sun, 22 Feb 2004 11:25:13 +0000 (11:25 -0000)]
Patch from Vodz, cleanup memory usage, send strdup error messages to
syslog.

20 years agoVodz. last_patch_128
Glenn L McGrath [Sun, 22 Feb 2004 11:13:28 +0000 (11:13 -0000)]
Vodz. last_patch_128
- declare applet_using as static from applets.c
- small correction to cmdedit,
   previous version cleared history after Ctrl-C
- small spelling correction (by Friedrich Lobenstock)

20 years agoPatch from James Zhu, telnetd window resizing support.
Glenn L McGrath [Sun, 22 Feb 2004 09:45:57 +0000 (09:45 -0000)]
Patch from James Zhu, telnetd window resizing support.

20 years agoUse bb_getopt_ulflags, marginal saving, better argument checking.
Glenn L McGrath [Sun, 22 Feb 2004 09:11:33 +0000 (09:11 -0000)]
Use bb_getopt_ulflags, marginal saving, better argument checking.

20 years agoUse /var/lib/hwclock for adjtime, its really a state file rather than a
Glenn L McGrath [Sun, 22 Feb 2004 08:33:37 +0000 (08:33 -0000)]
Use /var/lib/hwclock for adjtime, its really a state file rather than a
config file, so it should be in /etc, FHS mentions it also.

20 years agoPatch from Florian Schirmer. compile fix for debug builds
Glenn L McGrath [Sun, 22 Feb 2004 07:38:36 +0000 (07:38 -0000)]
Patch from Florian Schirmer. compile fix for debug builds

20 years agoPatch from Hideki IWAMOTO, output debugging messages to stderr
Glenn L McGrath [Sun, 22 Feb 2004 07:20:25 +0000 (07:20 -0000)]
Patch from Hideki IWAMOTO, output debugging messages to stderr

20 years agoremove duplicate header declarations
Glenn L McGrath [Sun, 22 Feb 2004 04:58:36 +0000 (04:58 -0000)]
remove duplicate header declarations

20 years agoFixup braces (patch from Thomas Geulig), run through indent and manually
Glenn L McGrath [Sun, 22 Feb 2004 04:44:21 +0000 (04:44 -0000)]
Fixup braces (patch from Thomas Geulig), run through indent and manually
adjust.

20 years agoThomas Geulig, remove duplicate header
Glenn L McGrath [Sun, 22 Feb 2004 04:17:26 +0000 (04:17 -0000)]
Thomas Geulig, remove duplicate header

20 years agoUpdate usage for ftpget and ftpput
Glenn L McGrath [Sun, 22 Feb 2004 04:12:58 +0000 (04:12 -0000)]
Update usage for ftpget and ftpput

20 years agoPtch by Hideki IWAMOTO, fix a bug preventing tftp from getting or
Glenn L McGrath [Sun, 22 Feb 2004 03:33:53 +0000 (03:33 -0000)]
Ptch by Hideki IWAMOTO, fix a bug preventing tftp from getting or
putting more than 0xffff blocks.

20 years agoReturn 1 upon failure
Glenn L McGrath [Sun, 22 Feb 2004 02:58:57 +0000 (02:58 -0000)]
Return 1 upon failure

20 years agoNo need to check proxy env variable twice, ignore proxy env variable if
Glenn L McGrath [Sun, 22 Feb 2004 00:27:34 +0000 (00:27 -0000)]
No need to check proxy env variable twice, ignore proxy env variable if
its set to 0

20 years agoSometimes i get carried away with the use of function pointers, im sure
Glenn L McGrath [Sat, 21 Feb 2004 09:20:56 +0000 (09:20 -0000)]
Sometimes i get carried away with the use of function pointers, im sure
it seemed like a good idea at the time.

20 years agoUse return instead of exit, use == instead of & ==, left justify labels,
Glenn L McGrath [Sat, 21 Feb 2004 07:49:54 +0000 (07:49 -0000)]
Use return instead of exit, use == instead of & ==, left justify labels,
adjustment of whitespace.

20 years agoDocument missing cp options
Eric Andersen [Fri, 20 Feb 2004 09:55:37 +0000 (09:55 -0000)]
Document missing cp options

20 years agoFix up hard links
Glenn L McGrath [Fri, 20 Feb 2004 02:34:42 +0000 (02:34 -0000)]
Fix up hard links

20 years agoA strict interpretation of the ustar format requires the type flag to be
Glenn L McGrath [Fri, 20 Feb 2004 02:25:18 +0000 (02:25 -0000)]
A strict interpretation of the ustar format requires the type flag to be
interpreted, we cannot depend on the file type being set in the mode
field.

20 years agoAdd extra comments, freakout if a pax archive is encoutered.
Glenn L McGrath [Thu, 19 Feb 2004 08:48:30 +0000 (08:48 -0000)]
Add extra comments, freakout if a pax archive is encoutered.

20 years agoChris Larson (kergoth) writes:
Eric Andersen [Thu, 19 Feb 2004 01:52:29 +0000 (01:52 -0000)]
Chris Larson (kergoth) writes:

As Manuel points out, this is a flawed fix, and doesnt fix the
following:

mkdir -p cpa cpb cpc
cp -a cpa cpa/cpb/cpc

Attached what appears to be a more sane fix.  Apply on top of previous.
Please confirm sanity.

20 years agoChris Larson (kergoth) writes:
Eric Andersen [Thu, 19 Feb 2004 00:44:08 +0000 (00:44 -0000)]
Chris Larson (kergoth) writes:

I was adding -s/--symbolic-link support to busybox cp when I noticed a
bug with -r/-a.  Test case:

mkdir -p test/out
cd test
busybox cp -a * out/

Will never return until we run out of open files or similar.
Coreutils cp on the other hand will error with "cannot copy a directory,
`out', into itself, `out'".  Patch attached.

20 years agoDont use same variable and struct name
Glenn L McGrath [Wed, 18 Feb 2004 13:19:58 +0000 (13:19 -0000)]
Dont use same variable and struct name

20 years agoFormatting
Glenn L McGrath [Wed, 18 Feb 2004 13:12:53 +0000 (13:12 -0000)]
Formatting

20 years agoremove debugging
Glenn L McGrath [Wed, 18 Feb 2004 12:58:00 +0000 (12:58 -0000)]
remove debugging

20 years agoPatch from OpenWrt.
Manuel Novoa III [Wed, 18 Feb 2004 10:14:17 +0000 (10:14 -0000)]
Patch from OpenWrt.

20 years agoAdd -i option to sed, to edit files in-place.
Rob Landley [Wed, 18 Feb 2004 09:54:15 +0000 (09:54 -0000)]
Add -i option to sed, to edit files in-place.

20 years agoFix vstype[] to match VS* defines. Patch from OpenWrt by mbm.
Manuel Novoa III [Wed, 18 Feb 2004 09:40:41 +0000 (09:40 -0000)]
Fix vstype[] to match VS* defines.  Patch from OpenWrt by mbm.

20 years agoRemove the unused CONFIG_FEATURE_HTTPD_SET_CGI_VARS_TO_ENV option.
Eric Andersen [Tue, 17 Feb 2004 20:08:11 +0000 (20:08 -0000)]
Remove the unused CONFIG_FEATURE_HTTPD_SET_CGI_VARS_TO_ENV option.

20 years agoMark Lord writes:
Eric Andersen [Tue, 17 Feb 2004 20:04:34 +0000 (20:04 -0000)]
Mark Lord writes:

The config file processing for inetd in busybox-1.00-pre7 and newer
is broken -- the saved command argv[] values overwrite each other.

Patch to fix it is attached.

Cheers
--
Mark Lord
Real-Time Remedies Inc.

20 years agoAdd the -r option, patch from Rob with some help from myself.
Glenn L McGrath [Tue, 17 Feb 2004 12:22:21 +0000 (12:22 -0000)]
Add the -r option, patch from Rob with some help from myself.

20 years agoRemove debugging
Glenn L McGrath [Tue, 17 Feb 2004 12:04:13 +0000 (12:04 -0000)]
Remove debugging

20 years agoDont strip trailing '/' until _after_ i test to set if its there !
Glenn L McGrath [Tue, 17 Feb 2004 11:55:06 +0000 (11:55 -0000)]
Dont strip trailing '/' until _after_ i test to set if its there !

20 years agoPatch from Florian Schirmer <jolt@tuxbox.org>. When I rewrote the parser,
Manuel Novoa III [Tue, 17 Feb 2004 10:16:21 +0000 (10:16 -0000)]
Patch from Florian Schirmer <jolt@tuxbox.org>.  When I rewrote the parser,
I overlooked the case of someone wanting to use a valid but empty suid
config file.

20 years agoWoops, im getting ahead of myself, we dont have the -r (refernece)
Glenn L McGrath [Tue, 17 Feb 2004 07:58:04 +0000 (07:58 -0000)]
Woops, im getting ahead of myself, we dont have the -r (refernece)
option yet

20 years agodefine option names to be clearer, simplify nested if statements, remove
Glenn L McGrath [Tue, 17 Feb 2004 07:51:31 +0000 (07:51 -0000)]
define option names to be clearer, simplify nested if statements, remove
un-needed if statement, minor indenting change

20 years agoAvoid naming conflict with symbol in newer glibc headers
Eric Andersen [Sat, 14 Feb 2004 21:33:39 +0000 (21:33 -0000)]
Avoid naming conflict with symbol in newer glibc headers