Eric Andersen
fd402941a7
Patch from Valdimir to reduce stack usage, since recursive_action
...
is (as the name implies) is recursive, reducing stack memory usage
is important to avoid exhausting available stack memory.
2001-04-10 17:53:49 +00:00
Matt Kraai
4e853560f5
Fix double quote handling.
2001-04-10 00:00:05 +00:00
Eric Andersen
2f2da90fd4
"I will always compile before I commit" x 100
2001-04-09 23:54:15 +00:00
Eric Andersen
b6b519b416
Update how we detect if libc5 is in use.
...
-Erik
2001-04-09 23:52:18 +00:00
Matt Kraai
d3f97f1971
Fix warning generated by pod2html about unterminated list.
2001-04-09 23:27:51 +00:00
Eric Andersen
303dd28bb0
Make 'grep -l' work
2001-04-09 23:26:31 +00:00
Mark Whitley
4391a16c92
Fixed option parsing. Grep would continue grepping, even when given a bad /
...
invalid option. Closes bug #1146 .
2001-04-09 23:00:07 +00:00
Eric Andersen
e5dfced23a
Apply Vladimir's latest cleanup patch.
...
-Erik
2001-04-09 22:48:12 +00:00
Eric Andersen
a75e286743
Bump version number to 0.51
2001-04-09 22:18:14 +00:00
Eric Andersen
59aa5703ae
Enable freeramdisk and pivot_root, disable lash for the Debian .udeb
...
-Erik
2001-04-09 22:17:10 +00:00
Eric Andersen
fc994d1cb4
make sure we auto-close debian bug #91758
...
-Erik
2001-04-09 22:15:27 +00:00
Eric Andersen
7cf9fed83f
update the changelog, prepatory to the 0.51 release. Please review
...
for correctness!
-Erik
2001-04-09 22:09:41 +00:00
Eric Andersen
3f8688b406
Update changelog
2001-04-09 19:00:29 +00:00
Eric Andersen
5d6f3440e6
use 'USE_SYSTEM_PWD_GRP=false' for the Debian packages so the boot-floppies
...
do not need any of the nss crap installed. As was, things like 'id' would
fail. Fixed now (with thanks to Matt Kraai for his help).
-Erik
2001-04-09 18:42:52 +00:00
Glenn L McGrath
305fdfa755
Reorganise status field to use 3 chars instead of one bit shifted long int.
...
Generates status file properly now, not compatable with full dpkg yet.
2001-04-08 13:27:39 +00:00
Glenn L McGrath
37849f3320
Use create_path instead of mkdir
2001-04-08 07:23:53 +00:00
Glenn L McGrath
13e9c7ad82
It now correctly backs up the (still corrupt) status file
2001-04-08 07:18:08 +00:00
Glenn L McGrath
0e757a2f3f
Some fixes, but still broken... (cont)
...
Make better use of some libbb functions
New remove dir code to avoid depending on the rm applet
dont use copy_file() it doesnt fail elegantly
Use getopt.
Generate correct /var/lib/dpkg/info/ files
Status file is broken, working on it now
2001-04-08 05:27:18 +00:00
Glenn L McGrath
f608da4288
Ignore SIGTERM prior to gz_close()
2001-04-07 02:40:59 +00:00
Glenn L McGrath
e5f3957665
Fix warning
2001-04-07 02:17:36 +00:00
Eric Andersen
8a9b2c6448
Note that insmod now also supports powerpc and mips. Thanks Larry.
2001-04-06 22:02:49 +00:00
Eric Andersen
aa21e0f913
An optimization from Vladimir
2001-04-06 16:02:22 +00:00
Eric Andersen
250a221768
more FILE_OFFSET_BITS == 64 adjustments.
2001-04-05 23:26:44 +00:00
Eric Andersen
83f173b61e
A first pass at making D_FILE_OFFSET_BITS=64 work, from
...
Jari Ruusu <jari.ruusu@pp.inet.fi>
2001-04-05 23:07:25 +00:00
Eric Andersen
c270ec1fa2
Add support of /W prompts
...
-Erik
2001-04-05 23:00:47 +00:00
Eric Andersen
831ed16efc
Handle glibc 2.0.7 as well
2001-04-05 22:38:32 +00:00
Eric Andersen
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
2001-04-05 21:45:54 +00:00
Eric Andersen
ea9065072c
Some cleanups/fixes for the syslogd circular buffer code
...
from Gennady Feldman.
2001-04-05 20:55:17 +00:00
John Beppu
79359d87e8
- autodocifier.pl :: continuation() was modified such that '#'
...
is handled correctly.
2001-04-05 20:03:33 +00:00
John Beppu
94e505485e
- use docs/autodocifier.pl to merge POD together
2001-04-05 19:42:03 +00:00
John Beppu
5bca0afb31
- split busybox.pod into a header and footer.
...
the body will be generated by docs/autodocifier.pl
2001-04-05 19:41:23 +00:00
John Beppu
9a1395b9fd
- documentation updates and a minor tweak to POD generation
2001-04-05 19:35:17 +00:00
Eric Andersen
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
2001-04-05 18:30:38 +00:00
Eric Andersen
911af57ff8
Be more generic for libc5. We don't need to know struct definitions
...
to make the syscall finction -- use a generic pointer instead.
2001-04-05 07:41:51 +00:00
Eric Andersen
64c8b1762c
Another iteration -- adjust the init_module syscall a bit.
...
-Erik
2001-04-05 07:33:10 +00:00
Eric Andersen
acc7757312
*** empty log message ***
2001-04-05 06:24:28 +00:00
Eric Andersen
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
2001-04-05 06:08:14 +00:00
Eric Andersen
fdefbbbe85
dpkg_deb had not been updated for the new gunzip interface. Fix it.
...
-Erik
2001-04-05 06:04:11 +00:00
Eric Andersen
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
2001-04-05 03:14:39 +00:00
Eric Andersen
3c0364f391
Patch from Larry Doolittle to eliminate needless thrashing
...
about when trimming long strings with lots of trailing white
space.
2001-04-04 22:49:01 +00:00
Eric Andersen
4fd382ea29
Remove unused optarg variable
2001-04-04 19:33:32 +00:00
Eric Andersen
06070532ba
Failed to name "Electric-fence" explicitly
2001-04-04 19:32:00 +00:00
Eric Andersen
d402edfd63
Some cleanups for libc5 support
2001-04-04 19:29:48 +00:00
Eric Andersen
14fe392dde
Fix a warning with libc5.
...
-Erik
2001-04-04 19:26:22 +00:00
Eric Andersen
b2e3e9b0c9
Seems that stupid libc5 doesn't implement daemon(), so conditionally
...
inclde that here.
-Erik
2001-04-04 19:25:57 +00:00
Matt Kraai
2129f97cd9
Avoid segfault when export is invoked with no arguments. Thanks to
...
Gennady Feldman.
2001-04-04 17:50:04 +00:00
Eric Andersen
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!
2001-04-04 17:31:15 +00:00
Eric Andersen
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.
Please test the human readable/non-human readable options on your systems!!!
-Erik
2001-04-03 23:14:29 +00:00
Eric Andersen
24073c7665
Add in easy-to-use electric-fence support.
...
-Erik
2001-04-03 22:53:19 +00:00
Eric Andersen
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
2001-04-03 22:50:52 +00:00