5e8c0ffb75
Rewrote.
Matt Kraai
2000-12-20 20:49:56 +00:00
e75f6a972c
Fix a stupid naming error.
Eric Andersen
2000-12-20 20:41:02 +00:00
e80a2633bc
Be sure to read from the given path, not the one used in the header.
Matt Kraai
2000-12-19 20:45:49 +00:00
8eb5985f94
More spelling fixes from Larry Doolittle.
Mark Whitley
2000-12-19 19:44:35 +00:00
8a6b619c96
Added a paragraph from Larry Dolittle, made some more section headers.
Mark Whitley
2000-12-19 17:54:38 +00:00
eac2636513
New applet HOWTO. Written by Matt Kraai with some formating and additions by me.
Mark Whitley
2000-12-19 17:35:24 +00:00
a1f9775981
Fix tar handling of absolute paths and excluded directories.
Matt Kraai
2000-12-19 06:24:08 +00:00
24ac017961
Rewrote dd.
Matt Kraai
2000-12-18 21:38:57 +00:00
0d2acb0ead
Doc update from Matt Kraai, better describing the init process.
Eric Andersen
2000-12-18 20:36:02 +00:00
86349776d0
Ok, this is a pretty major update to sh.c. I renamed all the variables and function names to conform with the style guide. I also did a lot of work on the if-then-alse-fi logic and added prototype (i.e. it segfaults when enabled) line continuation support.
Eric Andersen
2000-12-18 20:25:50 +00:00
1fa1adea2a
Change calls to error_msg.* and strerror to use perror_msg.*.
Matt Kraai
2000-12-18 03:57:16 +00:00
0dab829977
Add missing newlines to error messages.
Matt Kraai
2000-12-18 03:08:29 +00:00
bfa7967c4a
Rewrite nc to be simpler, smaller, and to check syscalls for errors.
Matt Kraai
2000-12-15 22:34:34 +00:00
8677d7b6ec
Only say mailing list once.
Matt Kraai
2000-12-15 15:41:03 +00:00
e699b9f0fb
Remove defines for ar that arent needed
Glenn L McGrath
2000-12-15 06:50:54 +00:00
4f1b0124c7
Rewrite, fix a bug with multiple long filenames, simplify structure, remove cruft, make code conform closer to style guide, saves 350 Bytes.
Glenn L McGrath
2000-12-15 06:50:09 +00:00
8abc78aa84
Rewrite argv munger.
Matt Kraai
2000-12-15 00:35:22 +00:00
1b622ff5ac
Add in mkCDrec - make CD-ROM recovery project.
Eric Andersen
2000-12-14 15:43:57 +00:00
aefe5629ab
Simplify error handling.
Matt Kraai
2000-12-14 05:44:36 +00:00
95fa0ea3d4
Shutdown sending on the socket when stdin closes.
Matt Kraai
2000-12-14 04:34:58 +00:00
6f6aa9b428
Added some necessary brackets, removed debug noise.
Mark Whitley
2000-12-13 23:23:30 +00:00
e3a94f7d08
Ran aspell.
Matt Kraai
2000-12-13 19:50:48 +00:00
95d1f6d7c7
Formatting fix
Eric Andersen
2000-12-13 18:30:59 +00:00
4362200712
Website update for the release
Eric Andersen
2000-12-13 18:30:13 +00:00
1e1d232f38
Add a few folks to Authors
Eric Andersen
2000-12-13 18:14:51 +00:00
235f66dea3
A few more updates
Eric Andersen
2000-12-13 18:07:38 +00:00
d0fa0a12f1
Document gzip -d
Eric Andersen
2000-12-13 17:59:37 +00:00
02ced93ec2
Add GNU compatibile gzip -d
Eric Andersen
2000-12-13 17:55:11 +00:00
46948366fa
Update the version number to 0.48 (no longer pre).
Eric Andersen
2000-12-13 16:42:24 +00:00
21125543e1
A couple of updates to fix some minor cross compiling issues
Eric Andersen
2000-12-13 16:41:29 +00:00
4836fd44f0
Patch from Matt Kraai: The following patch makes the -X option to tar behave like GNU, which reads one file per line. It also prevents the last file from being appended to the list twice (though that has no noticeable impact).
Eric Andersen
2000-12-13 15:28:48 +00:00
bd193a42a5
Fix from Matt Kraai -- a better way to NULL terminate strings for the my_* passwd and group routines. I should have thought of doing it this way...
Eric Andersen
2000-12-13 01:52:39 +00:00
77508b29fa
Fix from Gennady Feldman for error msg
Eric Andersen
2000-12-12 23:51:43 +00:00
f361ac29b0
Mem leak fix from Matt Kraai
Eric Andersen
2000-12-12 23:45:36 +00:00
483262f633
Patch from Matt Kraai to fix 'dirname /'
Eric Andersen
2000-12-12 23:27:48 +00:00
4d4b3b1d88
Fix so cross compiling works again...
Eric Andersen
2000-12-12 23:23:32 +00:00
e3a48d865a
Cleanup for proper compilation with uClibc.
Eric Andersen
2000-12-12 23:22:35 +00:00
d9d03b83f8
Mount error return code fix from Kent Robotti -- we must reset the error code when looping...
Eric Andersen
2000-12-12 23:20:37 +00:00
b12e506d8d
du.c error msg cleanup from Kent Robotti
Eric Andersen
2000-12-12 23:17:26 +00:00
69a6b2d4ae
Fix from Matt Kraai so basename / will work as expected.
Eric Andersen
2000-12-12 23:13:54 +00:00
e48eea63d3
Oops. Unmatched #if
Eric Andersen
2000-12-12 18:20:19 +00:00
a2d61e761e
Some compile fixes found by Larry Doolittle
Eric Andersen
2000-12-12 16:55:56 +00:00
5ec241d3b3
Script updates for better portability
Eric Andersen
2000-12-12 16:49:12 +00:00
2d6282bb37
Matt Kraai pointed out that we can rely on strncpy to NULL terminate shorter cases, so we can save a few cycles...
Eric Andersen
2000-12-11 20:33:46 +00:00
d323d32c5b
Patch from larry doolittle to make sure we don't realloc a pointer that was not yet malloced mem.
Eric Andersen
2000-12-11 20:29:13 +00:00
5a964f9d0b
Keep unknown priorities from segfaulting.
Matt Kraai
2000-12-11 20:13:37 +00:00
20c2bdd7f2
Fix spelling error s/defaut/default/g
Eric Andersen
2000-12-11 19:39:25 +00:00
5c365da884
Fix non-NULL terminated strings.
Eric Andersen
2000-12-11 19:37:19 +00:00
4ed17829ac
Fix a thinko -- when REMOTE_LOG support is compiled in, but the user has not specified remote logging, then be sure to log locally... duh.
Eric Andersen
2000-12-11 19:28:29 +00:00
b2356f6de9
Patch from Matt Kraai to fox sh.c escape problem such that running things like 'echo "\n\tHi\n\t\!"' and 'echo -e "\n\tHi\n\t\!"' behave as under bash.
Eric Andersen
2000-12-11 19:14:40 +00:00
59ec601b8e
Test suite update from Larry Doolittle to disable some problematic ambiguous cases. Everything now passes the test suite...
Eric Andersen
2000-12-11 17:33:08 +00:00
a293a516ad
Patch from kent robotti to fix a buglet where # du doesn't_exist du: doesn't_exist: No such file or directory 0 doesn't_exist which was on course wrong. I simplified it a bit...
Eric Andersen
2000-12-11 17:08:21 +00:00
394cf22668
Fix the option parsing to use getopt, which seems to fix bug #1050
Eric Andersen
2000-12-11 16:48:50 +00:00
cf7982e908
Patch from Larry Doolittle, fix up logging across multilple lines, hopefully fixing bug #1061.
Eric Andersen
2000-12-11 16:31:11 +00:00
70d09ed1cf
Reverse logic so when network logging, it by default does not log locally.
Eric Andersen
2000-12-11 16:24:16 +00:00
9962cd9f78
Add a linker warning for symbol conflicts.
Eric Andersen
2000-12-11 16:20:40 +00:00
c8eedd56ac
Some .deb update
Eric Andersen
2000-12-10 04:43:49 +00:00
46f44d24fc
Support for tar -z option for uncompressing only
Glenn L McGrath
2000-12-10 01:57:30 +00:00
00732b57c7
Introduce new function gunzip_init() gunzip_init() will make it easier to use gunzip from other bb functions.
Glenn L McGrath
2000-12-10 00:51:42 +00:00
c52a97d79f
NFS_PORT and NFS_FHSIZE are not defined in the kernel headers that come with libc6-2.2-5 This just defines that if they arent found in the kernel header
Glenn L McGrath
2000-12-09 23:59:04 +00:00
9df3833370
Fix problem where 'du file_that_exists' doesn't work.
Eric Andersen
2000-12-09 17:07:12 +00:00
29edd005f9
More wget cleanups I've been working on...
Eric Andersen
2000-12-09 16:55:35 +00:00
afdde3e356
Some little cleanups from Larry Doolittle
Eric Andersen
2000-12-09 16:41:42 +00:00
5b5db38a7d
Patch from Matt Kraai to implement uniq -[cdu]
Eric Andersen
2000-12-09 16:37:53 +00:00
1bca5ed886
add quiet mode support. If wget compiled without statusbar then -q option is accepted but has no effect. If wget compiled with statusbar -q turns it off.
Glenn L McGrath
2000-12-09 08:12:06 +00:00
8c28fd7849
Forget to set final argv entry to NULL, breaking sh.c amoung other things...
Eric Andersen
2000-12-09 00:19:30 +00:00
7da312058c
Some updates. Wrong name was on a patch, plus a spelling fix.
Eric Andersen
2000-12-08 21:05:58 +00:00
f21aa84389
Put in i to getopt, so i will work...
Eric Andersen
2000-12-08 20:50:30 +00:00
eb4218d0a4
Update inittab docs
Eric Andersen
2000-12-08 20:38:00 +00:00
bf2b8ae49a
Make no local logging a runtime option for network logging...
Eric Andersen
2000-12-08 19:52:01 +00:00
76fef0a5d0
Patch from Gennady Feldman <gfeldman@mail.com> to make syslogd not log when compiled for remote logging. Not the ideal way to fix it (it should really be a runtime switch), but good enough for now I guess...
Eric Andersen
2000-12-08 19:41:21 +00:00
9cff4fbac9
Patch from Matt Kraai to make logger log all arguments.
Eric Andersen
2000-12-08 19:35:51 +00:00
5e09b6e3a8
when invoked as 'busybox foo args' remove the "busybox" so ps shows only what we want it to show...
Eric Andersen
2000-12-08 19:03:12 +00:00
f3b2b52b58
Patch from Matt Kraai to enable proxy support.
Eric Andersen
2000-12-07 22:42:11 +00:00
f57c944e09
Changed names of functions in utility.c and all affected files, to make compliant with the style guide. Everybody rebuild your tags file!
Mark Whitley
2000-12-07 19:56:48 +00:00
7b5c16ebe5
Fix by Tim Robbins <fyre@box3n.gumbynet.org> to prevent bad format strings from being passed to syslog(3).
Matt Kraai
2000-12-07 16:22:04 +00:00
87afb526b5
Get rid of redundant TRUE and FALSE definitions.
Matt Kraai
2000-12-07 16:11:50 +00:00
1e1d9d1c95
oops, didn't mean to commit that last one... reverting
Randolph Chung
2000-12-07 03:56:10 +00:00
da7b82981b
Write progress meter to stderr instead of stdout
Randolph Chung
2000-12-07 03:55:35 +00:00
3d957c87b7
Patch from Jim Gleason <jimg@lineo.com> to fix tar so it no longer breaks hard links, and no longer segfault in a certain wierd case.
Eric Andersen
2000-12-07 00:34:58 +00:00
6b78fe383f
Add some more changlog stuff suggested by Larry Doolittle.
Eric Andersen
2000-12-07 00:29:50 +00:00
1e7cea952b
Bettwr document the hidden internal sh.c #defines, and which folks might want to use...
Eric Andersen
2000-12-06 23:47:38 +00:00
bc5941a540
Close but #1071...
Eric Andersen
2000-12-06 23:17:37 +00:00
bfa54143f6
Ignore the newdocs as well
Eric Andersen
2000-12-06 23:12:43 +00:00
8ffabf5825
Patch from Matt Kraai to fix 'echo "1 2 3" | tr -s " "' so it properly outputs "1 2 3".
Eric Andersen
2000-12-06 22:53:06 +00:00
1d3523b7aa
patch from Larry Doolittle to rename BB_FEATURE_SH_BUILTINS_ALWAYS_WIN to the more pedantically correct BB_FEATURE_SH_APPLETS_ALWAYS_WIN.
Eric Andersen
2000-12-06 19:07:39 +00:00
21adca750a
Added insmod support for ARM, and lsmod support for older kernels, thanks to Alcove, Julien Gaulmin <julien.gaulmin@alcove.fr> and Nicolas Ferre <nicolas.ferre@alcove.fr>. -Erik
Eric Andersen
2000-12-06 18:18:26 +00:00
e884970c87
Must compile before committing.
Matt Kraai
2000-12-06 15:56:31 +00:00
92ed8a3519
Fix exit status on failure.
Matt Kraai
2000-12-06 15:55:23 +00:00
ab147f608d
Removed isBlank and isWildCard macros that were totally unused (should anyone need isBlank, please use isblank() in ctype.h). Converted isDecimal and isOctal into inline functions. Compiled, tested, worked.
Mark Whitley
2000-12-05 20:42:48 +00:00
26a3adb244
Changed some #define strings to static const char [] variables. Tested ls after changing, it worked.
Mark Whitley
2000-12-05 20:10:27 +00:00
deb9d4d765
Use perrorMsg and clean up exit status.
Matt Kraai
2000-12-05 20:07:27 +00:00
4758368505
Fixed the comments to match the code and renamed the function to a (hopefully) more descriptive name, and as per the style guide.
Mark Whitley
2000-12-05 20:03:17 +00:00
cf61fe14ae
Applied patch from Matt Kraai to add v*error functions for handling vararg lists in a safe 'n sane fashion.
Mark Whitley
2000-12-05 19:27:13 +00:00
d27753afd9
Use perrorMsg instead of perror and keep removing files if we encounter an error.
Matt Kraai
2000-12-05 05:11:41 +00:00
0e836ed8db
Changelog update
Eric Andersen
2000-12-04 23:52:19 +00:00
2187adc619
Flag day warning! Change TRUE and FALSE defines to normal C style TRUE=1, FALSE=0. -Erik
Eric Andersen
2000-12-04 20:31:45 +00:00
8cede00b9e
Patch to add in the -X option and fix the --exclude bug, originally by Sebastien Huet, and now ported to the latest and greatest by both Arne Bernin <ab@netropol.de> and kent robotti <robotti@metconnect.com>.
Eric Andersen
2000-12-04 18:51:09 +00:00
f484e7e65c
Fix typo
Eric Andersen
2000-12-02 06:32:14 +00:00