Eric Andersen
77d9268892
Patch from larry to fix some grammar errors.
2001-05-23 20:32:09 +00:00
Eric Andersen
3200f5ac68
It turns out the descriptions of both dos2unix and unix2dos
...
were broken. This fixes.
-Erik
2001-05-22 22:39:10 +00:00
Eric Andersen
004015e9c4
Patch from Lars Kellogg-Stedman <lars@larsshack.org> to fix bug
...
#1130 (i.e. When you turn on features it should always ADD features)
2001-05-21 20:30:51 +00:00
Eric Andersen
abec344ab7
A couple more minor touchups
2001-05-21 17:58:01 +00:00
Eric Andersen
317827d9e5
Several cleanups for usage messages
2001-05-21 17:50:53 +00:00
Eric Andersen
2f6e1f880b
Patch from Gernot Poerner <gp@it-netservice.de>. Adds in
...
mount bind support.
2001-05-21 15:59:34 +00:00
Eric Andersen
6197c51834
Fix an escape problem in the docs. Some \n's didn't have the '\'
...
escaped, and so were messsing the out output.
-Erik
2001-05-18 23:14:53 +00:00
Matt Kraai
d6ef07406d
Rewrote copyfd to use library functions, terminate, and copy correct data.
2001-05-18 14:14:55 +00:00
Matt Kraai
c55b8d41c1
Add xgethostbyname and herror_msg* functions.
2001-05-16 15:40:51 +00:00
Eric Andersen
50ae3102fb
Patch from Adam Heath <doogie@debian.org> to add arbitrary header support
...
to wget, so it can now do funky interactive things with cgi scripts.
2001-05-15 17:51:37 +00:00
Eric Andersen
55f9872616
This patch from Adam Heath <doogie@debian.org>, makes print_file
...
(used by cat, grep, sed, etc) quite a bit faster.
2001-05-15 17:48:09 +00:00
Eric Andersen
c911a4389b
Patch from Vladimir:
...
1) fixed a bug that could crash df, mount, and umount applets if the root
device name was longer then the word "root" (/dev/loop1 vs /dev/root) -
2) severl functions needed static declaration in the umount applet
3) update declaration for function in last_char_is() in libbb
2001-05-15 17:42:16 +00:00
Eric Andersen
14d354312a
Per suggestion from Vladimir, eliminate check_wildcard_match(), which
...
was only being used by insmod these days.
Also, I spent a minute adjusting insmod so that it first searches
/lib/modules/`uname -r` and then (if that fails) searches /lib/modules,
which makes bb insmod behave much more like the real insmod, and should
avoid nasty surprises (such as the recent "Modutils vs. Busybox..."
thread).
-Erik
2001-05-14 17:07:32 +00:00
Eric Andersen
5f265b755a
Fix a segfault in lash, hush, and cmdedit. Each of these used
...
xgetcwd, but did not check the return for a NULL, and then continued
to call strlen on the NULL when the cwd had been removed from under it.
-Erik
2001-05-11 16:58:46 +00:00
Eric Andersen
238da24620
Fix the chown usage text, also thanks to Lars Kellogg-Stedman <lars@larsshack.org>
2001-05-11 16:31:46 +00:00
Matt Kraai
c96381be40
Fix env usage information.
2001-05-11 14:28:17 +00:00
Eric Andersen
8cd16d8fd3
This syncs things with Vladimir's latest patches. Also gets
...
rid of useless 'const int' declarations.
-Erik
2001-05-07 23:11:23 +00:00
Eric Andersen
0e9aef36fa
Oops. I was a bit too hasty and also changed applet_name.
2001-04-30 18:18:02 +00:00
Mark Whitley
8a633268ef
Made new xreadlink function for libbb and changed applets to use it instead of
...
readlink(2).
2001-04-30 18:17:00 +00:00
Eric Andersen
6f34394454
These messages can be .rodata, so make them even more const.
...
-Erik
2001-04-30 18:08:03 +00:00
Eric Andersen
c1bdffe99b
Another nice cleanup from Larry. This adds a new last_char_is() function and
...
uses it to avoid possible buffer underruns whn strlen is zero, and avoid the
possible space-hogging inline of strlen() in several cases.
-Erik
2001-04-26 15:56:47 +00:00
Mark Whitley
2789906aad
Removed obsoleted BB_FEATURE_RM_INTERACTIVE
2001-04-25 22:08:56 +00:00
Mark Whitley
207587a9b4
Applied patch from I.Q. to add -s to cmp.
2001-04-25 20:41:02 +00:00
Mark Whitley
c29c44c00e
libbb.h now includes ../busybox.h. This way, files in libbb that have
...
BB_[FEATURE] #defines won't be ignored. Credit to Magnus Damm for spotting
this.
2001-04-25 18:06:21 +00:00
Eric Andersen
04095e58fb
Move messages.c to libbb. Make each string in messages.c be its own .o file.
...
This way, we can new get rid of all that tedious #define rubbish we used to
need to enable specific messages. This way is enormously simpler, and as a
bonus also ends up saving us 96 bytes.
-Erik
2001-04-25 05:39:18 +00:00
Matt Kraai
8810bdbba3
Rewrote rm.
2001-04-24 20:04:18 +00:00
Eric Andersen
9f0fedb8f6
Split up chmod_chown_chgrp.c into 3 separate apps. This unfortunately
...
adds 384 bytes to the overall size. But having each app be standalone
is the Right Thing(tm) so we will just have to live with it.
-Erik
2001-04-24 18:07:19 +00:00
Matt Kraai
01441036e9
Use generic flag names.
2001-04-24 01:30:02 +00:00
Matt Kraai
9ff9325e60
Move applet_name declaration from busybox.h to libbb.h.
2001-04-24 01:12:33 +00:00
Matt Kraai
91b2855ba8
Rewrite cp and mv to be SUSv2 compliant.
2001-04-23 18:53:07 +00:00
Mark Whitley
3e310ac309
Applied patch from Larry Doolittle to give users the third option of putting
...
buffers in BSS (in addition to stack and heap).
2001-04-20 17:40:33 +00:00
Eric Andersen
b5ec61e4f5
Add types for the inline funcs, thanks to Ralph Siemsen <ralphs@netwinder.org>
2001-04-18 20:17:05 +00:00
Mark Whitley
fccaa3629b
Applied patch from I.Q. to add sort -u as a feature.
2001-04-17 18:56:18 +00:00
Mark Whitley
30ac01cca7
Applied a patch from Laurence Anderson to fix the wget statusbar and a patch
...
to usage.h to document the -q option.
2001-04-17 18:13:16 +00:00
John Beppu
5d81768cf1
- usage.h
...
o echo_example_usage
needed to escape some backslashes in an inner quote
o find_full_usage
missing a \n at the end of the -name line
? getopt_full_usage
the -o line has tab issues, but I didn't fix them.
o length_example_usage
removed some double-quotes that were within an inner quotes
o printf_example_usage
needed to escape a backslash in an inner quote
o sort_example_usage
needed to escape some backslashes and double quotes in an inner quote
o tftp_full_usage
s/nameing/naming/;
o umount_full_usage
remove colons after options for consistency w/ other full_usage messages
o uniq_example_usage
needed to escape some backslashes and double quotes in an inner quote
- TODO xargs -l ?
- docs/autodocifier.pl POD && comment updates
- docs/busybox_footer.pod added Larry Doolittle and Sterling Huxley
2001-04-17 17:09:34 +00:00
Glenn L McGrath
33431ebb9a
dpkg improvements, use full package struct, avoid extracting to tmp dir, rename variable.
...
deb_extract, untar and dpkg_deb modified to make the above possible
2001-04-16 04:52:19 +00:00
Glenn L McGrath
3136904ff6
Document new dpkg-deb funtions
2001-04-15 12:53:24 +00:00
Glenn L McGrath
685f5fd6f4
untar changed to allow deb_extract to extract to memory, allows better operation of dpkg-deb -f
2001-04-15 12:51:59 +00:00
Glenn L McGrath
445fb952b8
dpkg-deb -f and partial -I commands, adds 600 bytes
2001-04-13 04:02:57 +00:00
Matt Kraai
1e04ea388f
Fix dos2unix/tr problem noted by Larry Doolittle.
2001-04-12 21:38:06 +00:00
Matt Kraai
6ba1a80c26
Use date -u instead of date --utc and consolidate version string.
...
Patch by Larry Doolittle <ldoolitt@recycle.lbl.gov>.
2001-04-12 20:11:55 +00:00
Glenn L McGrath
3e2ab88ee2
New dpkg-deb function -t, stands for --fsys-tarfile
2001-04-12 13:49:09 +00:00
Glenn L McGrath
c9cac5be23
Change size to unsinged long long, so if -1 is passed it will read as much as possible.
2001-04-12 13:47:12 +00:00
Glenn L McGrath
359c106871
Fix dpkg-deb, enum's are cool
2001-04-12 10:19:08 +00:00
Glenn L McGrath
a283157c38
convert() is used by dos2unix and unix2dos
2001-04-12 00:49:26 +00:00
Glenn L McGrath
4949faf4b2
copy_file_chunk uses streams now.
2001-04-11 16:23:35 +00:00
Glenn L McGrath
7fd92949d0
Move unzip, gz_open, gz_close to libbb
2001-04-11 03:11:33 +00:00
Glenn L McGrath
d22e560ad6
Move deb_extract() to libbb, dpkg now independent of dpkg-deb
2001-04-11 02:12:08 +00:00
Glenn L McGrath
9d53c8ab74
Move get_ar_headers to libbb, make dpkg_deb.c independent of ar.c
2001-04-11 01:37:03 +00:00
Eric Andersen
b6b519b416
Update how we detect if libc5 is in use.
...
-Erik
2001-04-09 23:52:18 +00:00