platform/upstream/busybox.git
22 years agoThis patch from Bart Visscher <magick@linux-fan.com> adds
Eric Andersen [Wed, 3 Jul 2002 11:46:38 +0000 (11:46 -0000)]
This patch from Bart Visscher <magick@linux-fan.com> adds
IPV6 support to busybox.  This patch does the following:
    * Add IPv6 support to libbb
    * Enable IPv6 interface address display
    * Add IPv6 config option
    * Adds ping6, an adaptation of the ping applet for IPv6
    * Adds support routines for ping6:
- xgethostbyname2
- create_icmp6_socket
    * Adds ifconfig support for IPv6
    * Add support IPv6 to netstat
    * Add IPv6 support to route
Thanks Bart!

22 years agoApply last_patch47 from vodz to fix several problems, such as the ash "job
Eric Andersen [Wed, 3 Jul 2002 11:08:10 +0000 (11:08 -0000)]
Apply last_patch47 from vodz to fix several problems, such as the ash "job
control turned off" bug, console_setup() was called with a closed file
descriptor, setsid() inconsistancy, and silly string handling bugs.   I have
modified his patch to allow the askfirst init actions to have a controlling
terminal.

22 years agohide shadow using stuff when CONFIG_FEATURE_SHADOWPASSWDS
Eric Andersen [Wed, 3 Jul 2002 09:13:21 +0000 (09:13 -0000)]
hide shadow using stuff when CONFIG_FEATURE_SHADOWPASSWDS
is not set
 -Erik

22 years agoPatch from Martin Volf <volf@dragon.cz> to fix where I had
Eric Andersen [Wed, 3 Jul 2002 05:55:14 +0000 (05:55 -0000)]
Patch from Martin Volf <volf@dragon.cz> to fix where I had
screwed up the usage messages

22 years agoFix from vodz so that complex init commands actually work
Eric Andersen [Wed, 3 Jul 2002 05:44:18 +0000 (05:44 -0000)]
Fix from vodz so that complex init commands actually work

22 years agoPatch from Danny Lepage <danny.lepage@cognicase.com> to fix
Eric Andersen [Wed, 3 Jul 2002 05:32:02 +0000 (05:32 -0000)]
Patch from Danny Lepage <danny.lepage@cognicase.com> to fix
dutmp for uClibc.

22 years agoPatch from till busch <buti@gmx.at> -- unblock all signals
Eric Andersen [Wed, 3 Jul 2002 05:15:23 +0000 (05:15 -0000)]
Patch from till busch <buti@gmx.at> -- unblock all signals
in exec_signal() before calling exec()

22 years agoFix text alignment, thanks to Sander Klein <s.klein@quicknet.nl>
Eric Andersen [Wed, 3 Jul 2002 04:54:52 +0000 (04:54 -0000)]
Fix text alignment, thanks to Sander Klein <s.klein@quicknet.nl>

22 years agoCleanup shadow.h stuff so it behaves as intended
Eric Andersen [Wed, 3 Jul 2002 04:47:43 +0000 (04:47 -0000)]
Cleanup shadow.h stuff so it behaves as intended
 -Erik

22 years agoLittle fix to avoid overflow
Eric Andersen [Wed, 3 Jul 2002 04:24:08 +0000 (04:24 -0000)]
Little fix to avoid overflow

22 years agoSilly spelling fix
Eric Andersen [Wed, 3 Jul 2002 02:52:35 +0000 (02:52 -0000)]
Silly spelling fix
 -Erik

22 years agoDavid Frascone <dave@frascone.com> noticed two problems. First, modprobe was
Eric Andersen [Tue, 2 Jul 2002 19:14:23 +0000 (19:14 -0000)]
David Frascone <dave@frascone.com> noticed two problems.  First, modprobe was
trying to call 'insmod -q', which wasn't supported.  Secondly, when modprobe
was fed blank lines from modules.dep, we ended up calling xstrndup(ptr, -1),
which with suitably bad results.  David provided a patch to catch the blank
lines, and I have added insmod -q support.  So modprobe should work again.
 -Erik

22 years agoRemove advertising clauses in accordance with
Aaron Lehmann [Sun, 23 Jun 2002 22:25:24 +0000 (22:25 -0000)]
Remove advertising clauses in accordance with
ftp://ftp.cs.berkeley.edu/ucb/4bsd/README.Impt.License.Change

22 years agoinline many functions that are only called once. saves about 300 bytes
Aaron Lehmann [Sun, 23 Jun 2002 22:13:22 +0000 (22:13 -0000)]
inline many functions that are only called once. saves about 300 bytes
on i386. also staticify most functions.

22 years agoNeeds shadow.h; otherwise wont compile without CONFIG_USE_BB_SHADOW
Aaron Lehmann [Sun, 23 Jun 2002 22:00:41 +0000 (22:00 -0000)]
Needs shadow.h; otherwise wont compile without CONFIG_USE_BB_SHADOW

22 years agoremove cleanUpAndFail, and replace it with exit(). because that's what
Aaron Lehmann [Sun, 23 Jun 2002 21:56:13 +0000 (21:56 -0000)]
remove cleanUpAndFail, and replace it with exit(). because that's what
it does unless srcMode was set, and srcMode is never set.

22 years agoRework optimization code. Be more compiler aware.
Eric Andersen [Sun, 23 Jun 2002 04:50:49 +0000 (04:50 -0000)]
Rework optimization code.  Be more compiler aware.
 -Erik

22 years agoPort over the last of the tinylogin applets
Eric Andersen [Sun, 23 Jun 2002 04:24:25 +0000 (04:24 -0000)]
Port over the last of the tinylogin applets
 -Erik

22 years agoSeveral login cleanups from vodz
Eric Andersen [Sat, 22 Jun 2002 17:49:29 +0000 (17:49 -0000)]
Several login cleanups from vodz

22 years agoApply vodz' last_patch44 -- cleanup several chars to be const, fix
Eric Andersen [Sat, 22 Jun 2002 17:32:58 +0000 (17:32 -0000)]
Apply vodz' last_patch44 -- cleanup several chars to be const, fix
rotten error handling, kill spare \n's, etc

22 years agoKill dead email address
Eric Andersen [Sat, 22 Jun 2002 17:23:45 +0000 (17:23 -0000)]
Kill dead email address
 -Erik

22 years agoApply last_patch46 from vodz, to fix buffer overflows noted by
Eric Andersen [Sat, 22 Jun 2002 17:20:50 +0000 (17:20 -0000)]
Apply last_patch46 from vodz, to fix buffer overflows noted by
Gerardo Puga, and to optimize for size a little bit.  Thanks vodz

22 years agoApply vodz' cleanup for insmod buffer overflows, which was cleaner
Eric Andersen [Sat, 22 Jun 2002 17:15:42 +0000 (17:15 -0000)]
Apply vodz' cleanup for insmod buffer overflows, which was cleaner
than my first effort.

22 years agoMajor revamp. I've been trying to clean up the code. the bzerror stuff
Aaron Lehmann [Sat, 22 Jun 2002 06:35:29 +0000 (06:35 -0000)]
Major revamp. I've been trying to clean up the code. the bzerror stuff
still needs major attention (i.e. removal).

Removed references to uninitialized variables like progName,
smallMode, noisy, etc. Remove functions and code for handling "small"
decompression mode, since it is all unreachable. Remove
total_{in,out}* counters - they are never used. Remove panic()
function and assert_h and their uses because they are all for "should
never happen" circumstances. Replace internal malloc/free wrappers
with xmalloc and free. Remove conditional in if(foo)free(foo);
situations. Remove bogus
if (sizeof(int) != 4) {
return BZ_CONFIG_ERROR;
}
(...etc...) code and code for handling BZ_CONFIG_ERROR. Someone should
go through and change the applet to use well-defined types when
appropriate - it expects sizeof(short)==2 && sizeof(int)==4. Until
this commit these were explicitly checked for, and the applet would
exit if these types were not the right size. (I think this is wrong
even as an interim solution.)

With gcc 3.1 reduces size of binary on i386-linux by about 700 bytes.

Lightly tested.

22 years agoAs noted by Yves Lavoie ing. <yves.lavoie.ing@sympatico.ca>, don't
Eric Andersen [Tue, 18 Jun 2002 05:16:25 +0000 (05:16 -0000)]
As noted by Yves Lavoie ing. <yves.lavoie.ing@sympatico.ca>, don't
lose the last letter of the module name.

22 years agoFix a potential macro expansion problem... isspace can be
Eric Andersen [Sat, 15 Jun 2002 14:37:46 +0000 (14:37 -0000)]
Fix a potential macro expansion problem...  isspace can be
a macro causing a double decrement...

22 years agoDon't use pointless GNU-isms
Eric Andersen [Sat, 15 Jun 2002 14:33:06 +0000 (14:33 -0000)]
Don't use pointless GNU-isms

22 years agoPatch from Simon Krahnke:
Robert Griebl [Tue, 11 Jun 2002 23:43:27 +0000 (23:43 -0000)]
Patch from Simon Krahnke:
I wrote a patch for busybox for our company's (www.lisa.de)
private use. [...] To sed it adds the '!'-inversion of addresses.

22 years ago* testsuite/sed/sed-recurses-properly: Mark XFAIL.
Matt Kraai [Tue, 11 Jun 2002 13:29:08 +0000 (13:29 -0000)]
* testsuite/sed/sed-recurses-properly: Mark XFAIL.

22 years ago* libbb/copy_file.c (copy_file): Check st_dev instead of st_rdev.
Matt Kraai [Tue, 11 Jun 2002 13:25:26 +0000 (13:25 -0000)]
* libbb/copy_file.c (copy_file): Check st_dev instead of st_rdev.

22 years agovodz' last_patch42_2, which is an updated fix for buffer overflows
Eric Andersen [Sat, 8 Jun 2002 12:44:17 +0000 (12:44 -0000)]
vodz' last_patch42_2, which is an updated fix for buffer overflows
noted by Gerardo Puga

22 years agoIf config file can not be parsed, use compiled in BB_SUID_... values as a
Robert Griebl [Thu, 6 Jun 2002 17:30:16 +0000 (17:30 -0000)]
If config file can not be parsed, use compiled in BB_SUID_... values as a
fallback method

22 years agoFix buffer overflows noted by Gerardo Puga
Eric Andersen [Thu, 6 Jun 2002 14:36:07 +0000 (14:36 -0000)]
Fix buffer overflows noted by Gerardo Puga
 -Erik

22 years agoFix buffer overflows noted by Gerardo Puga
Eric Andersen [Thu, 6 Jun 2002 14:24:57 +0000 (14:24 -0000)]
Fix buffer overflows noted by Gerardo Puga
 -Erik

22 years agoFix a buffer overflow found by Gerardo Puga <gpuga@gioia.ing.unlp.edu.ar>
Eric Andersen [Thu, 6 Jun 2002 13:33:01 +0000 (13:33 -0000)]
Fix a buffer overflow found by Gerardo Puga <gpuga@gioia.ing.unlp.edu.ar>
 -Erik

22 years agoLets give this a try...
Eric Andersen [Thu, 6 Jun 2002 13:00:47 +0000 (13:00 -0000)]
Lets give this a try...

22 years agoEmail addr fix
Eric Andersen [Thu, 6 Jun 2002 12:59:13 +0000 (12:59 -0000)]
Email addr fix

22 years agoPatch from Gyepi SAM <gyepi@praxis-sw.com>:
Eric Andersen [Thu, 6 Jun 2002 12:24:51 +0000 (12:24 -0000)]
Patch from Gyepi SAM <gyepi@praxis-sw.com>:

Fixed up domain removal for local domains. GNU traceroute does not do this. I
don't know why we do.  Fixed incorrect argument for reverse resolution.  Clean
up cruft that appears when CONFIG_FEATURE_TRACEROUTE_VERBOSE is defined

22 years agoPatch from Gyepi SAM <gyepi@praxis-sw.com>:
Eric Andersen [Thu, 6 Jun 2002 12:11:55 +0000 (12:11 -0000)]
Patch from Gyepi SAM <gyepi@praxis-sw.com>:
    When DEBUG is defined
    1. need to include resolv.h (for _resinit())
    2. remove _() call around string. It appears to be a remnant of i18n or some such notion

22 years agoPatch from vodz to only setenv PATH when PATH changes, which is much
Eric Andersen [Thu, 6 Jun 2002 12:07:28 +0000 (12:07 -0000)]
Patch from vodz to only setenv PATH when PATH changes, which is much
smarter than my quick fix.

22 years agoPer discussion with vodz, Tim's changes do not seem to make sense.
Eric Andersen [Thu, 6 Jun 2002 11:47:00 +0000 (11:47 -0000)]
Per discussion with vodz, Tim's changes do not seem to make sense.
Revert them.
 -Erik

22 years agolast_patch41 from vodz to fix stty -F and similar
Eric Andersen [Thu, 6 Jun 2002 11:35:29 +0000 (11:35 -0000)]
last_patch41 from vodz to fix stty -F and similar

22 years agoplug fd leak noticed by Russ Dill
Eric Andersen [Wed, 5 Jun 2002 07:11:32 +0000 (07:11 -0000)]
plug fd leak noticed by Russ Dill
 -Erik

22 years agoBigger patch for (partial) tinylogin integration
Robert Griebl [Tue, 4 Jun 2002 20:45:46 +0000 (20:45 -0000)]
Bigger patch for (partial) tinylogin integration
- Made a new dir loginutils
- Moved all applets from pwd_grp to loginutils
- Added new applets su.c login.c to loginutils
- Made a new dir libpwdgrp
- Moved everything from pwd_grp/libpwd_grp there
- Added shadow.c to libpwdgrp
- Removed dir pwd_grp
- Added usage strings for login and su to usage.h
- Changed main Makefile to reflect the dir rearrangements
[Parts of this patch may overlap with my other two patches]

22 years agoFix for broken handling off BusyBox's own pwd/grp implementations
Robert Griebl [Tue, 4 Jun 2002 20:10:23 +0000 (20:10 -0000)]
Fix for broken handling off BusyBox's own pwd/grp implementations
[Parts of this patch may overlap with my other two patches]

22 years agoImplement two types of suid/sgid support for BusyBox:
Robert Griebl [Tue, 4 Jun 2002 20:06:25 +0000 (20:06 -0000)]
Implement two types of suid/sgid support for BusyBox:
1) tinylogin like with compile time selection and a chown root.root
2) Runtime configurable via /etc/busybox.conf (docu is in the works)
[Parts of this patch may overlap with my other two patches]

22 years agoCleaned up Erik's fgets -> read patch and fixed a buffer overflow
Robert Griebl [Tue, 4 Jun 2002 19:33:58 +0000 (19:33 -0000)]
Cleaned up Erik's fgets -> read patch and fixed a buffer overflow

22 years agoAvoid stack munching stdio implementations.
Eric Andersen [Tue, 4 Jun 2002 13:28:43 +0000 (13:28 -0000)]
Avoid stack munching stdio implementations.
 -Erik

22 years agoFixed a realloc bug found by Martin Volf
Robert Griebl [Sun, 2 Jun 2002 09:36:12 +0000 (09:36 -0000)]
Fixed a realloc bug found by Martin Volf

22 years agoInclude busybox.h before testing CONFIG_LOCALE_SUPPORT.
Manuel Novoa III [Wed, 29 May 2002 19:08:41 +0000 (19:08 -0000)]
Include busybox.h before testing CONFIG_LOCALE_SUPPORT.

22 years agoPatch from Randolfe Averty to fixup package conflict checks, cleanup some memory...
Glenn L McGrath [Wed, 29 May 2002 13:45:34 +0000 (13:45 -0000)]
Patch from Randolfe Averty to fixup package conflict checks, cleanup some memory leaks and reorganise dependency checking.
Some further memory leaks fixed by me.

22 years agoAdded support for /etc/modules.conf parsing
Robert Griebl [Tue, 28 May 2002 21:32:10 +0000 (21:32 -0000)]
Added support for /etc/modules.conf parsing
for now only the 'alias' entries are evaluated

22 years agoAdded include for isdigit(); simplified -<num> detection
Robert Griebl [Mon, 27 May 2002 22:24:53 +0000 (22:24 -0000)]
Added include for isdigit(); simplified -<num> detection

22 years agoEnsure that insmod supports at least one MODULE_INTERFACE
Eric Andersen [Fri, 24 May 2002 06:59:22 +0000 (06:59 -0000)]
Ensure that insmod supports at least one MODULE_INTERFACE
 -Erik

22 years agoPatch from Magnus Damm <damm@opensource.se> to rework things
Eric Andersen [Fri, 24 May 2002 06:50:15 +0000 (06:50 -0000)]
Patch from Magnus Damm <damm@opensource.se> to rework things
greatly, and keep the arch specific relocations together,
fixes R_PPC_ADDR32 handling so powerpc can work, and changes the
tlb tables to be linked lists (again so powerpc can work).

22 years agoMade exit code SysV compliant. Also added -s (single pid) flag.
Robert Griebl [Wed, 22 May 2002 23:38:12 +0000 (23:38 -0000)]
Made exit code SysV compliant. Also added -s (single pid) flag.

22 years agoSome cleanups, some size reductions and some buffer overflow checks
Robert Griebl [Wed, 22 May 2002 23:34:35 +0000 (23:34 -0000)]
Some cleanups, some size reductions and some buffer overflow checks
Most of it based on ideas from vodz

22 years agoSupport old-style compress (.Z) files via libbb / unzip( ) calls
Robert Griebl [Sun, 19 May 2002 19:00:14 +0000 (19:00 -0000)]
Support old-style compress (.Z) files via libbb / unzip( ) calls
(configurable) - When enabled an applet "uncompress" is also made
available (oddname to gunzip)
[the cvs add for this file got lost somehow...]

22 years agoping return 1 if can't ping
Tim Riker [Sat, 18 May 2002 09:16:04 +0000 (09:16 -0000)]
ping return 1 if can't ping

22 years agoSUpport old style -[::digit::] options for head and tail
Robert Griebl [Fri, 17 May 2002 22:18:04 +0000 (22:18 -0000)]
SUpport old style -[::digit::] options for head and tail
Also make head behave like GNU head (-0/-n 0 is valid)

22 years agoReduced code size for new -e flag (suggested by vodz)
Robert Griebl [Thu, 16 May 2002 19:14:15 +0000 (19:14 -0000)]
Reduced code size for new -e flag (suggested by vodz)

22 years agoDoh! Remember to close /etc/inittab
Eric Andersen [Wed, 15 May 2002 22:19:09 +0000 (22:19 -0000)]
Doh!  Remember to close /etc/inittab

22 years agoSupport old-style compress (.Z) files via libbb / unzip( ) calls
Robert Griebl [Wed, 15 May 2002 22:13:47 +0000 (22:13 -0000)]
Support old-style compress (.Z) files via libbb / unzip( ) calls
(configurable) - When enabled an applet "uncompress" is also made
available (oddname to gunzip)

22 years agogunzip'ing many files to stdout works now
Robert Griebl [Wed, 15 May 2002 21:57:42 +0000 (21:57 -0000)]
gunzip'ing many files to stdout works now
Fixed a missing initialisation and made a for loop more readable.

22 years agoDon't delete source file when decompressing to stdout
Robert Griebl [Wed, 15 May 2002 21:45:52 +0000 (21:45 -0000)]
Don't delete source file when decompressing to stdout
This is the normal GNU gunzip behaviour

22 years agoComplete rewrite to support stack loading/unloading with proper
Robert Griebl [Tue, 14 May 2002 23:42:08 +0000 (23:42 -0000)]
Complete rewrite to support stack loading/unloading with proper
handling of duplicates in the dependencies list.

22 years agoAdded support for -Y|--proxy=on/off to wget
Robert Griebl [Tue, 14 May 2002 23:36:45 +0000 (23:36 -0000)]
Added support for -Y|--proxy=on/off to wget

22 years agoAdd --login support. This is the bash way of starting a shell that should
Robert Griebl [Tue, 14 May 2002 23:22:06 +0000 (23:22 -0000)]
Add --login support. This is the bash way of starting a shell that should
parse the profile files.

22 years agoThis patch adds -e (extended information) to route and -r/-e (show routing
Robert Griebl [Tue, 14 May 2002 23:10:58 +0000 (23:10 -0000)]
This patch adds -e (extended information) to route and -r/-e (show routing
tables/extended information) to netstat.
This makes them behave (more) like their GNU counterparts.

22 years agoThis patch adds -e (extended information) to route and -r/-e (show routing
Robert Griebl [Tue, 14 May 2002 23:03:23 +0000 (23:03 -0000)]
This patch adds -e (extended information) to route and -r/-e (show routing
tables/extended information) to netstat.
This makes them behave (more) like their GNU counterparts.

22 years agoEntries with "noauto" options are ignored correctly when mounting all
Robert Griebl [Tue, 14 May 2002 22:56:29 +0000 (22:56 -0000)]
Entries with "noauto" options are ignored correctly when mounting all
("mount -a"), but mount fails when these entries are specified explicitly
In these cases the "noauto" option has to be simply ignored.

22 years agoTom Oehser noticed that we were lacking the SO_REUSEADDR flag.
Eric Andersen [Sun, 5 May 2002 03:40:14 +0000 (03:40 -0000)]
Tom Oehser noticed that we were lacking the SO_REUSEADDR flag.

22 years agoPatch from Robert Griebl <griebl@gmx.de> to support modprobe -r properly,
Eric Andersen [Fri, 3 May 2002 15:48:26 +0000 (15:48 -0000)]
Patch from Robert Griebl <griebl@gmx.de> to support modprobe -r properly,
merged in with the latest and greatest.

22 years agoMake verbose and show_only work as expected
Eric Andersen [Fri, 3 May 2002 15:22:42 +0000 (15:22 -0000)]
Make verbose and show_only work as expected
 -Erik

22 years agoPatch from Robert Griebl <griebl@gmx.de> to ignore the -s flag
Eric Andersen [Fri, 3 May 2002 10:34:35 +0000 (10:34 -0000)]
Patch from Robert Griebl <griebl@gmx.de> to ignore the -s flag

22 years agofix and shrink uuencode
Tim Riker [Wed, 1 May 2002 05:57:16 +0000 (05:57 -0000)]
fix and shrink uuencode

22 years ago* archival/gunzip.c (gunzip_file): New.
Matt Kraai [Mon, 29 Apr 2002 15:32:32 +0000 (15:32 -0000)]
* archival/gunzip.c (gunzip_file): New.
  (gunzip_main): Handle no arguments correctly.

22 years agoUpdate website
Eric Andersen [Sat, 27 Apr 2002 12:16:48 +0000 (12:16 -0000)]
Update website

22 years agoFix silly combinitorial oversight
Eric Andersen [Sat, 27 Apr 2002 09:19:39 +0000 (09:19 -0000)]
Fix silly combinitorial oversight

22 years agoPatch from Cliff L. Biffle <cbiffle@safety.net> to display memory 0_60_3
Eric Andersen [Sat, 27 Apr 2002 06:06:11 +0000 (06:06 -0000)]
Patch from Cliff L. Biffle <cbiffle@safety.net> to display memory
usage in the ps listing

22 years agouClibc supports struct _res these days...
Eric Andersen [Sat, 27 Apr 2002 04:06:55 +0000 (04:06 -0000)]
uClibc supports struct _res these days...

22 years agoSupport noerror option
Eric Andersen [Sat, 27 Apr 2002 01:31:43 +0000 (01:31 -0000)]
Support noerror option

22 years agoWhen the .config file is missing, supply a default one
Eric Andersen [Sat, 27 Apr 2002 00:06:47 +0000 (00:06 -0000)]
When the .config file is missing, supply a default one
and run menuconfig

22 years agoAdd netcat -i option, per patch from Cristian Ionescu-Idbohrn
Eric Andersen [Fri, 26 Apr 2002 23:59:12 +0000 (23:59 -0000)]
Add netcat -i option, per patch from Cristian Ionescu-Idbohrn
<cristian.ionescu-idbohrn@axis.com>

22 years agoAdd the who applet, supplied by Da Chen <dchen@ayrnetworks.com>
Eric Andersen [Fri, 26 Apr 2002 23:53:10 +0000 (23:53 -0000)]
Add the who applet, supplied by Da Chen <dchen@ayrnetworks.com>

22 years agoEnsure that getenv("PATH") stays current, since otherwise cmdedit
Eric Andersen [Fri, 26 Apr 2002 23:40:09 +0000 (23:40 -0000)]
Ensure that getenv("PATH") stays current, since otherwise cmdedit
(which calls getenv("PATH")) would not operate upon the current
PATH settings, which was really quite iritating.
 -Erik

22 years agoFix bugs
Eric Andersen [Fri, 26 Apr 2002 08:44:17 +0000 (08:44 -0000)]
Fix bugs

22 years agoMinor formatting
Eric Andersen [Fri, 26 Apr 2002 08:00:33 +0000 (08:00 -0000)]
Minor formatting

22 years agoadd missing void, still has issues though
Tim Riker [Fri, 26 Apr 2002 07:53:39 +0000 (07:53 -0000)]
add missing void, still has issues though

22 years agofix from kergoth
Tim Riker [Fri, 26 Apr 2002 07:41:22 +0000 (07:41 -0000)]
fix from kergoth

22 years agoForward port patch from Przemyslaw Czerpak <druzus@polbox.com>:
Eric Andersen [Fri, 26 Apr 2002 07:20:47 +0000 (07:20 -0000)]
Forward port patch from Przemyslaw Czerpak <druzus@polbox.com>:

 1. busybox-telnet dosn't inform server about the size of terminal screen.
    In the world of xterminals and frame buffers it's rather horrible
    to use fixed 80x24 region in upper-left corner of screen/window.

 2. If client sends character 0x0d to the server then sends character 0x0a
   the server eat the second byte (0x0a) - it's described in telnet RFC.
    Client should send two bytes ( 0x0d + 0x0a or 0x0d + 0x00 ) insted of
    one 0x0d byte.

 3. busybox telnet implementation wasn't 8bit clean (look at 0xff byte).
    I need it because I have to use binray transfer like rz/sz. So when
    I resloved the problem (2) I corrected this one two.

This also contains a small cleanup patch from vodz, and some minor editing
by me.

22 years agoReworked by Robert Griebl <griebl@gmx.de> to support proper
Eric Andersen [Fri, 26 Apr 2002 06:04:01 +0000 (06:04 -0000)]
Reworked by Robert Griebl <griebl@gmx.de> to support proper
module dependancies.

22 years agovodz noted this line (as imported from Debian) is wrong, and has since
Eric Andersen [Wed, 24 Apr 2002 23:14:06 +0000 (23:14 -0000)]
vodz noted this line (as imported from Debian) is wrong, and has since
been fixed upstream.

22 years agoApply last_patch37 from vodz
Eric Andersen [Wed, 24 Apr 2002 23:08:23 +0000 (23:08 -0000)]
Apply last_patch37 from vodz

22 years agols could mis-color certain entries when previous commands
Eric Andersen [Wed, 17 Apr 2002 20:21:45 +0000 (20:21 -0000)]
ls could mis-color certain entries when previous commands
had failed.  Explicitly 0 out errno to prevent that.

22 years ago* networking/wget.c (wget_main): Check return value of safe_fwrite.
Matt Kraai [Wed, 17 Apr 2002 15:33:24 +0000 (15:33 -0000)]
* networking/wget.c (wget_main): Check return value of safe_fwrite.

22 years ago* archival/bunzip2.c (bunzip2_main): Do not remove files if writing to standard
Matt Kraai [Mon, 15 Apr 2002 15:01:37 +0000 (15:01 -0000)]
* archival/bunzip2.c (bunzip2_main): Do not remove files if writing to standard
  output.
* testsuite/bunzip2/bzcat-does-not-remove-compressed-file: New.

22 years agoPatch from Ben Low <ben@titr.uow.edu.au> to allow tftp to work
Eric Andersen [Mon, 15 Apr 2002 07:40:27 +0000 (07:40 -0000)]
Patch from Ben Low <ben@titr.uow.edu.au> to allow tftp to work
with stdin as well as stdout.

22 years agoPatch from Jim Treadway -- fix a missing "\" in usage.h
Eric Andersen [Sat, 13 Apr 2002 14:48:51 +0000 (14:48 -0000)]
Patch from Jim Treadway -- fix a missing "\" in usage.h

22 years agoSilly me
Eric Andersen [Sat, 13 Apr 2002 14:44:42 +0000 (14:44 -0000)]
Silly me