Glenn L McGrath
95f75a3dcd
Patch from Bastian Blank to fix debian bug #226722 , test case:
...
mkdir foo
touch foo/bar
ln -s bar foo/baz
2004-01-08 10:51:09 +00:00
Glenn L McGrath
cfc0ad4260
Batch from Bastian Blank to fix debian bug #216435 ;
...
When linking a non existing file busybox ln will report the target
missind and not the source:
2003-12-31 23:10:44 +00:00
Glenn L McGrath
5c0d84aaf0
Bring usage upto date, patch by Steven Scholz
2003-12-08 20:11:55 +00:00
Glenn L McGrath
11e69471be
Fix a bug, ignore the source path when installing to a directory.
...
We may be installing symlinks, so use lstat/lchown.
Make use of bb_getopt_ulflags and cp_mv_stat2, save 100 bytes.
2003-11-27 22:40:08 +00:00
Glenn L McGrath
7ffe133864
As we no longer use function pointers for read in common archiving code
...
archive_xread can be replaced with bb_full_read, and archive_copy_file
with bb_copyfd*
bb_copyfd is split into two functions bb_copyfd_size and bb_copyfd_eof,
they share a common backend.
2003-11-21 22:24:57 +00:00
Glenn L McGrath
5c069aaf2f
Fix up the -s option, and make usage consitent with behaviour,
...
patch by Steven Scholz
2003-11-20 05:58:26 +00:00
Glenn L McGrath
931ae9d2f8
woops, we needed that function
2003-11-18 23:56:41 +00:00
Glenn L McGrath
de3ea9f049
Only use getopt and associated flags if checking is enabled
2003-11-18 19:35:06 +00:00
Glenn L McGrath
aee0fd8320
Replaced by md5_sha1_sum.c
2003-11-18 19:33:13 +00:00
Glenn L McGrath
303b7d83f0
Replaced by md5_sha1_sum.c
2003-11-18 18:56:25 +00:00
Glenn L McGrath
d2a897aab0
Merge common parts of sha1sum and md5sum, which is everything except the
...
algorithms.
Move algorithms to hash_fd and make them available via a common
function.
2003-11-10 04:33:55 +00:00
Eric Andersen
1b1942f93d
As vodz pointed out, setting unset_env to NULL is sufficient
2003-11-07 11:20:21 +00:00
Glenn L McGrath
7f9de02ca6
Rewrite, 800+ bytes smaller and more robust.
2003-11-06 03:17:23 +00:00
Eric Andersen
6d687817a8
Fix oversight with CONFIG_FEATURE_AUTOWIDTH handling
2003-11-04 23:16:48 +00:00
Eric Andersen
b7077a7316
Set unset_env pointing to a NULL item, to prevent us from walking
...
off the end of the list and segfaulting.
-Erik
2003-11-03 22:46:14 +00:00
Glenn L McGrath
4ef5a84583
Move the tail -c option from FANCY_TAIL to the default tail, this makes
...
the default tail options conform to SUSv3, with the non-SUS
option all in FANCY_TAIL
2003-10-31 00:35:59 +00:00
Glenn L McGrath
9716575f1a
Remove config options for sort -u and sort -r, they are always enabled
2003-10-31 00:04:24 +00:00
Glenn L McGrath
f4fd3a1331
Accept the -c option and do nothing
2003-10-29 11:10:02 +00:00
Eric Andersen
637d2266e1
Disable any buffering to stdout
2003-10-22 10:18:24 +00:00
Eric Andersen
88c916bdec
Andreas Mohr writes:
...
the busybox menuconfig triggered my "inacceptable number of spelling mistakes"
upper level, so I decided to make a patch ;-)
I also improved some wording to describe some things in a better way.
Many thanks for an incredible piece of software!
Andreas Mohr, random OSS developer
2003-10-22 09:58:56 +00:00
Glenn L McGrath
a55d72bbb4
Patch from Steven Scholz, fix some warnings
2003-10-09 11:38:45 +00:00
Glenn L McGrath
a406a9c853
Add the -d option
2003-09-24 05:00:29 +00:00
Glenn L McGrath
eebcc1d98a
Add the "install" applet, move get_ug_id to libbb as its used by chown,
...
chgrp and install.
2003-09-24 03:22:57 +00:00
Eric Andersen
8efe967018
Be entirely consistant when using ioctl(0, TIOCGWINSZ, &winsize)
...
to ensure proper fallback behavior on, i.e. serial consoles.
-Erik
2003-09-15 08:33:45 +00:00
Glenn L McGrath
07f6b95d8f
Patch from Jean Wolter
...
expr currently always adds even if told to subtract
2003-09-08 23:19:12 +00:00
Glenn L McGrath
55bf79f944
Preserve suid/sgid bits
2003-09-08 14:34:23 +00:00
Glenn L McGrath
dc4e75ef7c
move all "-/bin/sh" "/bin/sh" and "sh" to libbb/messages.c file as one
...
constant.
Vodz last_patch_107
2003-09-02 02:36:18 +00:00
Glenn L McGrath
7b8765c808
vodz, last patch 103
2003-08-29 07:29:30 +00:00
Glenn L McGrath
c3f2956cfa
Woops, depend on SHA1 not the option
2003-08-26 04:28:05 +00:00
Glenn L McGrath
4d5e4685fe
SHA1 options depend on SHA1
2003-08-26 04:25:59 +00:00
Glenn L McGrath
d382c89467
Typo
2003-08-19 03:49:00 +00:00
Manuel Novoa III
5b3c05637d
Remove unnecessary pointer dereference.
2003-08-13 12:11:33 +00:00
Manuel Novoa III
96379b0d7d
Adjust Erik's change, as I don't claim copyright of the applet.
2003-08-09 02:57:55 +00:00
Eric Andersen
de6a6ae876
Remove unnecessary defamatory comment
2003-08-08 08:57:03 +00:00
Eric Andersen
6c0e0fb8ac
Fix a stupid bug I introduced several months ago
2003-08-08 07:39:57 +00:00
Eric Andersen
05df91a3ac
last_patch98 from vodz:
...
Denis,
># ./busybox env - echo zzz
>zzz
># ./busybox echo -n zzz
>zzz
># ./busybox env - echo -n zzz
>env: invalid option -- n
>
> obviously, env tried to understand -n as env's option
> instead of blindly passing it to echo...
>
>BusyBox v1.00-pre1 (2003.07.16-07:53+0000) multi-call binary
>
>Usage: env [-iu] [-] [name=value]... [command]
Ah, you found very old problem.
Last patch also have:
- multiple "-u unsetenv" support
- GNU long option support
- save errno after exec failed before bb_perror_msg()
--w
vodz
2003-07-28 07:42:19 +00:00
Eric Andersen
727f529211
There should be only one instance of CONFIG_FEATURE_AUTOWIDTH
2003-07-26 09:33:16 +00:00
Manuel Novoa III
b511f9cea9
Set the tm_isdst flag to -1 before calling mktime(). Otherwise, the current
...
timezone setting is used for the new date.
2003-07-23 23:24:31 +00:00
Eric Andersen
e5272074c9
eliminate DOSTATIC, DODEBUG, etc and name them sensibly
2003-07-22 22:15:21 +00:00
Eric Andersen
85e5e72bc1
Remove remaining libc5 support code
2003-07-22 08:56:55 +00:00
Eric Andersen
cb81e6484d
Update a bunch of docs. Run a script to update my email addr.
2003-07-14 21:21:08 +00:00
Eric Andersen
e5642119ee
Patch from Thomas Cameron:
...
Hello all,
This patch adds more "Help" text to the config system. Almost
all applets now have a help entry. Also, I cleaned up the spacing of
the existing text so that things are consistent. This patch is against
this morning's CVS.
Thomas Cameron
CEI Systems, Inc.
2003-07-14 19:37:08 +00:00
Eric Andersen
b7ebc61b54
Michael Sternberg writes:
...
Latest BusyBox from CVS (Jul 7 2003).
File coreutils/ls.c
"if" at line 970 should be enclosed in #ifdef CONFIG_FEATURE_LS_SORTFILES
"if" at line 976 should be enclosed in #ifdef CONFIG_FEATURE_LS_TIMESTAMPS
2003-07-14 19:20:46 +00:00
Eric Andersen
65e20a33c2
Patch from Kent Robotti adding a bunch of needed docs!
...
-Erik
2003-07-05 07:52:35 +00:00
Eric Andersen
9e48045e45
Patch from Russell Coker:
...
I've attached my latest SE Linux patch for busybox against the latest CVS
version of busybox.
2003-07-03 10:07:04 +00:00
Eric Andersen
e5920a2dc0
Patch from Kent Robotti adding a bunch of menuconfig help
2003-07-03 10:00:15 +00:00
Eric Andersen
61f6db130e
As implemented, sha1sum would sometimes give the wrong answer.
...
This fixes it and uses faster sha1 code from Dr. Gladman.
-Erik
2003-07-03 09:41:41 +00:00
Eric Andersen
7c512439b2
Make sure we end up with a unix2dos link to busybox
2003-06-26 21:53:51 +00:00
Eric Andersen
9d7f0f0fe8
Somewhere in the 2.4.x kernel series, /proc/mounts was changed to display a
...
"rootfs" entry as well as the traditional "/dev/root" entry. This caused
applets such as mount and df to display two root filesystem entries....
This teaches the relevant utilities to ignore the "rootfs" entry.
-Erik
2003-06-20 09:36:49 +00:00
Eric Andersen
c9e7024924
Add prototype update missing from last_patch89. Fix screwy
...
formatting in cut.
2003-06-20 09:16:00 +00:00