aa21e0f913
An optimization from Vladimir
Eric Andersen
2001-04-06 16:02:22 +00:00
250a221768
more FILE_OFFSET_BITS == 64 adjustments.
Eric Andersen
2001-04-05 23:26:44 +00:00
83f173b61e
A first pass at making D_FILE_OFFSET_BITS=64 work, from Jari Ruusu <jari.ruusu@pp.inet.fi>
Eric Andersen
2001-04-05 23:07:25 +00:00
c270ec1fa2
Add support of /W prompts -Erik
Eric Andersen
2001-04-05 23:00:47 +00:00
831ed16efc
Handle glibc 2.0.7 as well
Eric Andersen
2001-04-05 22:38:32 +00:00
79757c9c37
A patch from Dmitry Zakharov <dmit@crp.bank.gov.ua> which adds - support for ftp downloads - HTTP basic authentication support (as an optional feature) - handling of http redirections - protocol version changed to 1.0 (to stop servers from requesting chunked encoding) - bugfix: in the case when content-length not given, wget didn't download anything - when attempting to continue an aborted download but server doesn't support restarts, reopen output file in write mode - changed assumption that existing file should restart an aborted download. Now the user must explicitly specify this with -c
Eric Andersen
2001-04-05 21:45:54 +00:00
ea9065072c
Some cleanups/fixes for the syslogd circular buffer code from Gennady Feldman.
Eric Andersen
2001-04-05 20:55:17 +00:00
79359d87e8
- autodocifier.pl :: continuation() was modified such that '#' is handled correctly.
John Beppu
2001-04-05 20:03:33 +00:00
94e505485e
- use docs/autodocifier.pl to merge POD together
John Beppu
2001-04-05 19:42:03 +00:00
5bca0afb31
- split busybox.pod into a header and footer. the body will be generated by docs/autodocifier.pl
John Beppu
2001-04-05 19:41:23 +00:00
9a1395b9fd
- documentation updates and a minor tweak to POD generation
John Beppu
2001-04-05 19:35:17 +00:00
4e2439ad27
It seems all the stdout munging was useless anyways, since deb_extract and all its called functions do nothing with stdout anyways. Axe that stuff. -Erik
Eric Andersen
2001-04-05 18:30:38 +00:00
911af57ff8
Be more generic for libc5. We don't need to know struct definitions to make the syscall finction -- use a generic pointer instead.
Eric Andersen
2001-04-05 07:41:51 +00:00
64c8b1762c
Another iteration -- adjust the init_module syscall a bit. -Erik
Eric Andersen
2001-04-05 07:33:10 +00:00
a2a978ae23
Some further syscall adjustments. Split the module syscalls out of insmod and into libbb. Only enable them for libc5. glibc and uClibc don't need them. -Erik
Eric Andersen
2001-04-05 06:08:14 +00:00
fdefbbbe85
dpkg_deb had not been updated for the new gunzip interface. Fix it. -Erik
Eric Andersen
2001-04-05 06:04:11 +00:00
e76c3b08e1
A number of cleanups. Now compiles with libc5, glibc, and uClibc. Fix a few shadowed variables. Move (almost) all syscalls to libbb/syscalls.c, so I can handle them sanely and all at once. -Erik
Eric Andersen
2001-04-05 03:14:39 +00:00
3c0364f391
Patch from Larry Doolittle to eliminate needless thrashing about when trimming long strings with lots of trailing white space.
Eric Andersen
2001-04-04 22:49:01 +00:00
4fd382ea29
Remove unused optarg variable
Eric Andersen
2001-04-04 19:33:32 +00:00
06070532ba
Failed to name "Electric-fence" explicitly
Eric Andersen
2001-04-04 19:32:00 +00:00
d402edfd63
Some cleanups for libc5 support
Eric Andersen
2001-04-04 19:29:48 +00:00
14fe392dde
Fix a warning with libc5. -Erik
Eric Andersen
2001-04-04 19:26:22 +00:00
b2e3e9b0c9
Seems that stupid libc5 doesn't implement daemon(), so conditionally inclde that here. -Erik
Eric Andersen
2001-04-04 19:25:57 +00:00
2129f97cd9
Avoid segfault when export is invoked with no arguments. Thanks to Gennady Feldman.
Matt Kraai
2001-04-04 17:50:04 +00:00
3f98040554
I said no new features till after the 0.51 release. Well, I lied. This is a vi editor for busybox, contributed by Sterling Huxley <sterling@europa.com>. It adds 22k to the busybox binary when enabled. Quite impressive!
Eric Andersen
2001-04-04 17:31:15 +00:00
91c9388715
Place a temporary bandaid on the ls/du/df human-readable issue. This method is not going to scale up as well as I would like, and Matt Kraai and I have discussed a better long term solution. But for now this will at least make all the human-readable apps give correct answers.
Eric Andersen
2001-04-03 23:14:29 +00:00
24073c7665
Add in easy-to-use electric-fence support. -Erik
Eric Andersen
2001-04-03 22:53:19 +00:00
60b2d8d2c8
if strlen(s) was 0, it would then end up using s[-1] as an array index. Bad, bad, bad. This was crashing the shell on powerpc boxes, though all other archs seem to have a much more forgiving malloc implementations. I finally found this bug using electric-fence on a powerpc box. -Erik
Eric Andersen
2001-04-03 22:50:52 +00:00
c97ec34370
A patch from Matt Kraai that adds a new 'shutdown' action to busybox init. Now you can specify an arbitrary behavior for 'ctrlaltdel' without that behavior needing to be a reboot.
Eric Andersen
2001-04-03 18:01:51 +00:00
0f0c0b41ce
Make 'busybox --help' work as expected, closing bug #1139 -Erik
Eric Andersen
2001-04-03 17:05:01 +00:00
c0c502e172
Fix for bug 1143 from Larry Doolittle -Erik
Eric Andersen
2001-04-03 16:38:37 +00:00
c4cef5ab06
Move the mtab support stuff into libbb -Erik
Eric Andersen
2001-04-01 16:01:11 +00:00
f77d88641d
Formatting change
Eric Andersen
2001-04-01 04:49:41 +00:00
1e117b4752
Dont try and automount devfs, rename some variables
Glenn L McGrath
2001-03-30 01:28:13 +00:00
84e229cfbe
Add in a new standalone env applet for fixing up app's environments -Erik
Eric Andersen
2001-03-29 22:48:33 +00:00
e5c24dfd01
Use daemon() to spawn syslogd and klogd daemons. -Erik
Eric Andersen
2001-03-29 21:58:33 +00:00
3a6da8c183
gz_open and gz_close were left in, even when BB_FEATURE_TAR_GZIP was disabled. Fix that.
Eric Andersen
2001-03-29 14:22:45 +00:00
5f2ef46d6d
Fix zcat
Glenn L McGrath
2001-03-29 01:07:54 +00:00
ed7a776538
gunzip -c works again
Glenn L McGrath
2001-03-29 00:57:20 +00:00
ae8ad35590
Fixes from Robert Kaiser
Glenn L McGrath
2001-03-28 23:57:51 +00:00
e0a7f917c2
Applied patch from David Douthitt to re-add -print option to find. Closes bug #1144.
Mark Whitley
2001-03-28 22:04:42 +00:00
c835567914
Fix ls so it uses make_human_readable_str() the same way already used by 'du' and 'df'. Now we just need to fix make_human_readable_str so it behaves they way it used to before Matt fixed it.
Eric Andersen
2001-03-28 20:26:51 +00:00
d98e574d41
Patch bass ackwards behavior of hr flag.
Matt Kraai
2001-03-28 20:10:25 +00:00
7cd0cfeab6
Rewrite to fix bug #1140 and make it slightly smaller.
Matt Kraai
2001-03-28 16:42:27 +00:00
f957c77910
Enable tar -z support again by default
Glenn L McGrath
2001-03-28 07:48:10 +00:00
02cebebc3b
Remove cruft
Glenn L McGrath
2001-03-28 07:37:48 +00:00
9233959940
Remove tar_unzip_init() not needed any more, uses gz_open instead
Glenn L McGrath
2001-03-28 07:31:37 +00:00
018e9e6799
Fix tar -z, calls gz_open now
Glenn L McGrath
2001-03-28 07:27:26 +00:00
ee79ca1ba6
Disable tar -z for now
Glenn L McGrath
2001-03-28 06:13:15 +00:00
0cbc8cf4c9
Gunzip changes broke tar -z support (woops)
Glenn L McGrath
2001-03-28 05:47:26 +00:00
58e42d5356
Major cleanup to better adhere to style guide and use standard busybox functions
Glenn L McGrath
2001-03-28 05:38:24 +00:00
f58efb57d1
Add functions that were shared with gunzip.c, gunzip about to change.
Glenn L McGrath
2001-03-28 05:35:16 +00:00
a2e68fc233
Change BB_FEATURE_TRIVIAL_HELP to BB_FEATURE_VERBOSE_USAGE (per bug #1130).
Matt Kraai
2001-03-27 21:57:29 +00:00
5b8939b147
Some more words on sending patches to the bug-tracker.
Mark Whitley
2001-03-27 21:20:05 +00:00
9a2144663a
Applied patch from David Douthitt to fix problem where ls reports half the file size. Should close bug #1140.
Mark Whitley
2001-03-27 20:59:14 +00:00
cc7b4f39fc
Some more tests for cut. Craig Matsuura said he saw some problems along these lines. "Works for me", but we'll keep these tests around for regression.
Mark Whitley
2001-03-27 20:48:01 +00:00
bff6b18bf9
Applied patch from Gennady Feldman to fix a single-threaded syslogd bug that turned up. This code needs to be tested on an embedded system, since that's where the bug turned up in the first place.
Mark Whitley
2001-03-27 20:17:58 +00:00
2b549c3be0
Fixed the Makefile so busybox can link against libc5 again. Putting libbb.a at the end broke it.
Mark Whitley
2001-03-27 18:22:41 +00:00
5cd2a2d53e
In fact, socklen_t *is* defined by libc5.
Mark Whitley
2001-03-27 18:22:00 +00:00
a82a00397f
Fix to last patch: locale code should be 9, not 7.
Mark Whitley
2001-03-27 17:07:15 +00:00
1c6581a865
Applied patch from Vladimir N. Oleynik to add locale support to the shell per bug report from Ralph Jones.
Mark Whitley
2001-03-27 16:35:16 +00:00
af633757d3
Applied patch from Anthony Towns that he posted to Debian bug tracking.
Mark Whitley
2001-03-26 16:47:57 +00:00
049dc25fe7
Fix in_ether bug regarding hex digits reported by Jonas Holmberg <jonas.holmberg@axis.com>.
Manuel Novoa III
2001-03-26 16:26:16 +00:00
36eff9ac55
Bump version number to 0.51pre
Eric Andersen
2001-03-24 06:34:59 +00:00
6f3240abf9
xstrdup xargs cleanup from Jeff Garzik
Eric Andersen
2001-03-23 17:11:22 +00:00
6b2c23d847
xstrdup tftp cleanup from Jeff Garzik
Eric Andersen
2001-03-23 17:10:19 +00:00
21af752b04
Patch to use xfopen from Jeff Garzik
Eric Andersen
2001-03-23 17:09:15 +00:00
f6aa13d403
-Wshadow tr fix from Jeff Garzik
Eric Andersen
2001-03-23 17:08:21 +00:00
82ab8da245
-Wshadow sh fix from Jeff Garzik
Eric Andersen
2001-03-23 17:06:01 +00:00
8ffaf8d139
-Wshadow logread fix from Jeff Garzik
Eric Andersen
2001-03-23 17:04:47 +00:00
c54f9530ee
-Wshadow loadacm fix from Jeff Garzik
Eric Andersen
2001-03-23 17:03:28 +00:00
08ff8a49ba
includes cleanup from Jeff Garzik
Eric Andersen
2001-03-23 17:02:05 +00:00
0b4d73a53c
Some minor wordsmithing, an extra item in the list of "things Busybox doesn't need", example of a testcase, more janitorial items, and a whole new section with guidelines on committing changes to CVS.
Mark Whitley
2001-03-22 22:59:33 +00:00
82bb8a2bf8
Patch from Dirk Behme <dirk.behme@de.bosch.com> to add EM_MIPS_RS3_LE for mips -Erik
Eric Andersen
2001-03-22 19:01:16 +00:00
851895ab80
Clean up more local vars which shadow globals -Erik
Eric Andersen
2001-03-21 21:52:25 +00:00
1ca20a7747
A nice patch from Larry Doolittle that adds -Wshadow and cleans up most of the now-revealed problems.
Eric Andersen
2001-03-21 07:34:27 +00:00
7447642a47
Added a section on the available Busybox boot-floppy image. Also provided some linkes to a Wired article on Midori Linux.
Mark Whitley
2001-03-20 19:57:30 +00:00
6f93277f56
Added adjtimex applet from Larry Doolittle.
Mark Whitley
2001-03-20 19:18:10 +00:00
ba372620c2
Force applet_name to be "sh" when command prefaced by "-"
Eric Andersen
2001-03-20 17:39:53 +00:00
7ef1a5beb2
Fix up command line munging in init. Postpone the askfirst thing till a bit later in run().
Eric Andersen
2001-03-20 17:39:08 +00:00
4ef37d0c17
chown was missing a ] in its usage msg
Eric Andersen
2001-03-20 01:06:14 +00:00
40eaa9f0bb
Size optimization for rdate from Vladimir
Eric Andersen
2001-03-19 19:41:54 +00:00
8269396491
Simpify detection of no options.
Eric Andersen
2001-03-19 19:40:43 +00:00
2ccfef2004
Patch from Vladimir to move struct applet from busybox.c to applets.c, which looks like the right place for such things to live.
Eric Andersen
2001-03-19 19:30:24 +00:00
23c1a18126
Per suggestion from Vladimir, no need to initialize these -- let the bss do it. -Erik
Eric Andersen
2001-03-19 19:28:24 +00:00
7ef54de672
locale correction patch from Vladimir
Eric Andersen
2001-03-19 19:25:49 +00:00
b183dfad2d
Split error messages into separate files.
Eric Andersen
2001-03-19 19:24:06 +00:00
cc165b9083
Should exclude "i" option when not enabled.
Eric Andersen
2001-03-19 18:59:01 +00:00
00b0496e69
Doesn't need a "-" option -- getopt does that for us.
Eric Andersen
2001-03-19 18:57:08 +00:00
16f7015722
Patch from Vladimir to force interactiveFlag=FALSE when forceFlag=TRUE
Eric Andersen
2001-03-19 18:54:38 +00:00
7c25441792
getopt-ify rm so that BB_FEATURE_RM_INTERACTIVE will work
Eric Andersen
2001-03-19 18:52:37 +00:00
c75586e06d
Split libbb/pwd_grp_wrappers.c into 5 different libbb/my_* files. -Erik
Eric Andersen
2001-03-19 18:37:42 +00:00
61173a5371
Fix to cmdedit.c from Vladimir
Eric Andersen
2001-03-19 17:48:55 +00:00
fa513aab48
Some configuration adjustments from Vladimir
Eric Andersen
2001-03-19 17:25:21 +00:00
8b96032139
Fix a bug pointed out by Rob Landley <rlandley@austin.rr.com>, where setup_sockaddr_in was zeroing the sizeof a pointer, not the sizeof the struct, which was obviously what was intended. Thanks Rob, -Erik
Eric Andersen
2001-03-17 05:43:39 +00:00
341744781a
Patch from Larry and Vladimir to clean up sh.c and fix shell expansion to work in non POSIX locales.
Eric Andersen
2001-03-17 00:20:10 +00:00
1a6f8cfadf
update .cvsignore files to note new location of loop.h
Eric Andersen
2001-03-17 00:15:02 +00:00
8a6dbf6709
Patch from Pierre PEIFFER <pierre.peiffer@sxb.bsf.alcatel.fr> that copes with the fact that processes may have been swapped out.
Eric Andersen
2001-03-17 00:05:42 +00:00