6092680305
Adjust the default feature set a wee bit
Eric Andersen
2001-01-20 19:48:21 +00:00
5f825ee6d6
Apply a patch from Vladimir N. Oleynik <dzo@simtreas.ru>, and thereby save 64 bytes. -Erik
Eric Andersen
2001-01-20 16:22:58 +00:00
f914a8af2b
Close files before exit
Glenn L McGrath
2001-01-20 06:23:54 +00:00
6f65a3a7e8
More printf cleanups
Eric Andersen
2001-01-20 01:10:07 +00:00
1d269432b1
Close unused pipe handle before fork (for tar -z).
Glenn L McGrath
2001-01-20 00:12:21 +00:00
8392acd8fc
All files include busybox.h, which includes applets.h, so the Makefile should reflect this. Thanks to Vladimir N. Oleynik for the idea.
Matt Kraai
2001-01-18 03:03:09 +00:00
12f417edbd
Eliminate calls of the form "fprintf(stdout,". Thanks for the idea to Vladimir N. Oleynik.
Matt Kraai
2001-01-18 02:57:08 +00:00
c9acf8c766
Complicate truncate behavior.
Matt Kraai
2001-01-17 00:21:05 +00:00
fd4c58d7c5
Fix the exit status of umount -a, a casualty of the TRUE/FALSE normalization. Thanks to Francois-R Boyer <boyerf@IRO.UMontreal.CA> for the report.
Matt Kraai
2001-01-17 00:12:11 +00:00
9aa23ba5a8
Show an example of how to compile with uClibc. -Erik
Eric Andersen
2001-01-16 21:20:46 +00:00
541ffe30a2
Fix ownership of extracted directories.
Matt Kraai
2001-01-13 21:46:25 +00:00
744b064a34
Needs to be NULL at init in all cases.
Eric Andersen
2001-01-05 21:23:44 +00:00
59d31b68c3
Changelog update/cleanup from larry.
Eric Andersen
2001-01-05 21:01:01 +00:00
8ea28be6d2
Patch from larry doolittle to be ever so careful to cleanup all open file descriptors, lest wierdness happen later.
Eric Andersen
2001-01-05 20:58:22 +00:00
0bcc813a34
Better label the globals.
Eric Andersen
2001-01-05 19:37:32 +00:00
b0970d4fed
Patch from Larry Doolittle to set values to static variables that live in the bss at runtime, since sh.c can call sh.c, which causes these variables to not be set to their defaults as god intended. -Erik
Eric Andersen
2001-01-05 19:34:52 +00:00
eb60d8bcd1
Turned some #define constants into static const ints.
Mark Whitley
2001-01-05 18:19:30 +00:00
55bccf315e
Rewrote tail.
Matt Kraai
2001-01-05 02:57:53 +00:00
defcd5e75e
Fix a segfault by only constructing the prompt when we need to. If we don't do this we will segfault processing /etc/.profile since cwd isn't yet set.
Matt Kraai
2001-01-05 02:53:11 +00:00
6c6ea6cba2
Changed email address to codepoet.org, updated list of applets / docs I maintain in AUTHORS.
Mark Whitley
2001-01-04 22:21:13 +00:00
92386561f1
Included name of Larry Doolittle's build test script. Shameless self-crediting of a few items.
Mark Whitley
2001-01-04 22:07:50 +00:00
05ebdd03d4
Update to changelog -- mostly from Larry Doolittle.
Eric Andersen
2001-01-04 21:14:15 +00:00
0810f723b1
Fixed -qv interaction (thanks to a report and patch from David Douthitt).
Matt Kraai
2001-01-04 15:11:52 +00:00
09acc06c10
Move window size handling to cmdedit.c. Move prompt setup to setup_prompt_string()
Eric Andersen
2001-01-04 11:10:38 +00:00
849083c886
Update interface per what now exists...
Eric Andersen
2001-01-04 11:09:00 +00:00
b3dc3b8990
Cleanup -- move win handling to cmdedit.c, static-ify many functions.
Eric Andersen
2001-01-04 11:08:45 +00:00
70a7855980
Fix symbol table manipulation (report and fix by Larry Doolittle).
Matt Kraai
2001-01-04 02:00:17 +00:00
1171c2fcb4
Added new script from Larry Doolittle that builds each applet individually.
Mark Whitley
2001-01-04 01:05:55 +00:00
be7499c83c
Behave like GNU tar when matching excluded files.
Matt Kraai
2001-01-03 17:22:10 +00:00
a9711a5969
Prevent / doubling and shrink parse_url.
Matt Kraai
2001-01-03 16:15:15 +00:00
59c09d06e3
Fix warning for unused variable
Glenn L McGrath
2001-01-03 01:44:49 +00:00
5e23e3d631
enable is_direcotry() for dpkg-deb
Glenn L McGrath
2001-01-03 01:38:29 +00:00
fa0443216d
Add dpkg-deb documentation
Glenn L McGrath
2001-01-03 01:06:30 +00:00
47b005217e
Disable a bunch of less common stuff by default. This produces a more reasonable sized default build.
Eric Andersen
2001-01-03 00:14:45 +00:00
5e8b3ea19d
Logger forgot to NULL terminate strings from stdin.
Eric Andersen
2001-01-03 00:06:46 +00:00
58a408512b
really add dpkg-deb.c this time
Glenn L McGrath
2001-01-02 23:49:26 +00:00
7541e3a812
add dpkg-deb command
Glenn L McGrath
2001-01-02 23:41:50 +00:00
004827d715
Update logger usage information.
Matt Kraai
2001-01-02 22:54:12 +00:00
1944f547bd
Log stdin when no message given and use getopt.
Matt Kraai
2001-01-02 18:13:58 +00:00
28b3c53f0d
I just whipped up support for arbitrary regex delimiters, so now things such as $ echo foo | sed 'sxfooxb\arx' bar will work as expected (and so doogie can stop complaining). -Erik
Eric Andersen
2001-01-02 11:01:31 +00:00
01bda5de6b
Better dmalloc handling
Eric Andersen
2001-01-02 01:16:38 +00:00
27c7bec4d4
Be more careful about dmalloc handling
Eric Andersen
2001-01-02 01:16:02 +00:00
e6e818309e
Improvements from Vladimir N. Oleynik.
Matt Kraai
2000-12-30 07:46:23 +00:00
e9e182e255
Fix lower casing for weird locales.
Matt Kraai
2000-12-26 16:36:10 +00:00
a9819b2908
Use busybox error handling functions wherever possible.
Matt Kraai
2000-12-22 01:48:07 +00:00
e9f07fb6e8
Another sh.c patch from Larry Doolittle. This makes redirects work properly with non-forking shell builtins. Especially helpful for "read". This patch also beautifies builtin_fg_bg, clarifies the problems with run_command_predicate, makes if/then/else support the default, and corrects the sense of the BB_FEATURE_SH_ENVIRONMENT comment.
Eric Andersen
2000-12-21 18:31:36 +00:00
16fdbe8b27
Make more things be static (like they are supposed to be).
Eric Andersen
2000-12-20 23:40:57 +00:00
a6cd07099d
Bump the version number to 0.49pre
Eric Andersen
2000-12-20 23:22:29 +00:00
e111d69ca2
Turns out, md5sum was broken anyways. It uses backwards TRUE/FALSE and wasnever updated when TRUE and FALSE were fixed. So kludge it by doing an #undef TRUE, then define it backwards...
Eric Andersen
2000-12-20 23:19:42 +00:00
70da6a66d2
Fix a warning in sh.c. Remove use of getline() in md5sum since nobody else uses it and it is a GNU extension anyways...
Eric Andersen
2000-12-20 22:59:16 +00:00
3680c58084
Some corrections, some additions, some embellishments.
Mark Whitley
2000-12-20 22:35:12 +00:00
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
0_48
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