Glenn L McGrath
0d53ebdc52
gz_open is used anymore, use inflate directly, see how its done in get_header_tar_gz
2002-10-21 06:29:55 +00:00
Glenn L McGrath
4298e87fa5
Dont try and make the "/" directory
2002-10-19 23:56:41 +00:00
Glenn L McGrath
61b7904afd
Update dpkg to use new unarchive code
2002-10-19 10:40:55 +00:00
Glenn L McGrath
c5c1a8a112
Fix exclude/include problem
2002-10-19 06:19:22 +00:00
Glenn L McGrath
05fa661123
Find a string in a list
2002-10-19 05:10:51 +00:00
Glenn L McGrath
25bca9566d
Remove entries from the accept list as they are matched so we can determine if any files that were specified in the list wernt found.
2002-10-19 02:18:51 +00:00
Glenn L McGrath
98f824aa22
Dont use absolute pathname (dunno why i did that), fix tar filename/stdin problems
2002-10-19 00:46:35 +00:00
Glenn L McGrath
934805aec1
Put bac kthe code that handles cases where a '-' wasnt specified prior to the options.
2002-10-18 23:59:40 +00:00
Eric Andersen
2a2ab1479c
Fix an obvious thinko
...
-Erik
2002-10-18 22:31:02 +00:00
Eric Andersen
431a18497d
disambiguate a test
2002-10-18 22:18:10 +00:00
Eric Andersen
31f9747a23
Fix needless formatting differences vs modutils
2002-10-18 22:14:07 +00:00
Eric Andersen
d69e31fb93
Fix needless difference vs GNU
2002-10-18 22:13:23 +00:00
Russ Dill
1977a60de4
missed add for udhcp
2002-10-14 21:47:07 +00:00
Russ Dill
61fb48930f
added full udhcp integration
2002-10-14 21:41:28 +00:00
Eric Andersen
9060a73159
Doh! I screwed up applying vodz' patch.
...
-Erik
2002-10-12 04:16:08 +00:00
Eric Andersen
e8a90fb2bc
After thinking about it, I think this patch from Matt Kraai is probably the
...
best way to go. Sysvinit does not provide a controlling tty since it doesn't
even try to open ttys for apps. We do. So we should _try_ to provide a
controlling tty if possible, but we needn't freak out if it doesn't work. This
way we won't need to use openvt or similar, we'll just have init do the Right
Thing(tm).
2002-10-12 04:05:48 +00:00
Eric Andersen
71ae64bdc6
last_patch61 from vodz:
...
New complex patch for decrease size devel version. Requires previous patch.
Also removed small problems from dutmp and tar applets.
Also includes vodz' last_patch61_2:
Last patch correcting comment for #endif and more integrated
with libbb (very reduce size if used "cat" applet also).
Requires last_patch61 for modutils/config.in.
2002-10-10 04:20:21 +00:00
Eric Andersen
fdfe298a96
last_patch60 from vodz:
...
login and getty applets writes utmp/wtmp but init do clearing not.
I think, in current time deny wtmp/utmp writes as undefault features.
2002-10-10 03:55:09 +00:00
Eric Andersen
d274b53c1d
last_patch59 from vodz to cleanup chmod and correctly parse '-rwxgoa'
2002-10-10 03:47:01 +00:00
Eric Andersen
1bb1e83454
last_patch58_2 from vodz -- add FEATURE_CPU_USAGE_PERCENTAGE option
2002-10-10 03:44:12 +00:00
"Steven J. Hill"
adb058b0de
Fixed the script. It always put output to 'stdout' and never to
...
the 'modules.dep' file.
2002-10-08 21:33:51 +00:00
Eric Andersen
a39342b131
Remember to delete docs/busybox.pod
2002-10-08 19:31:04 +00:00
Eric Andersen
528649463f
Fix missing \n noticed by Robert Schwebel
2002-10-08 09:38:07 +00:00
Glenn L McGrath
2983330512
Fix segfault when testing if reaidng from stdin "-"
2002-10-06 23:25:23 +00:00
Eric Andersen
e0f5500bb5
Fix init docs
2002-09-30 20:59:33 +00:00
Eric Andersen
506177df7f
Bugfix from Claudio Fleiner <claudio@fleiner.com>
2002-09-30 20:53:38 +00:00
Eric Andersen
08a72209c9
last_patch58 from vodz:
...
Ok. I generate patch for include to busybox-devel my work with
top (original author give me maintaining) and telnetd (my
support and unofficial maintaining) applets. Docs changes
also: added awk, netstat, time applets to list ;)
2002-09-30 20:52:10 +00:00
Eric Andersen
02e6ba91e8
Vodz' last_patch57:
...
Hi, Erik.
my_getpw(uid/gid) and applets used it have problem:
if username for uid not found, applets can`t detect it
(but code pessent). Also "%8ld " format is bad:
spaces not required (applets have self format
or spec format (tar applet) and overflow for "id" applet...)
This problem also pressent in stable version.
Patch for unstable in attach.
--w
vodz
2002-09-30 20:39:56 +00:00
Eric Andersen
a6f6e06107
Fix dependancy so we rebuild busybox.o, usage.o and busybox.o
...
whenever the config changes.
-Erik
2002-09-30 20:39:12 +00:00
Eric Andersen
ad082987d0
Use %m, not strerror, and strerror(err) was broken anyways and should have been
...
strerror(errno). Problem noted by Alexey V. Neyman <alex.neyman@auriga.ru>
2002-09-30 20:20:20 +00:00
Eric Andersen
d9d47c3078
Patch from Konstantin Isakov <ikm@pisem.net>:
...
In most cases, dirname returns the same argument it was given, so this code
works nice, but there's one special case: when the name contains no
dirname, it returns "." (stored statically in the body of itself), and we
get a segfault in attempt to free() it.
This patch fixes this problem.
2002-09-30 20:14:57 +00:00
Eric Andersen
aa1d6ccbfb
Don't even try to run ash on uClinux. It won't work.
...
-Erik
2002-09-30 20:12:32 +00:00
Eric Andersen
6a9799020b
Set the close-on-exec flag, just to be saf
2002-09-30 20:08:53 +00:00
Eric Andersen
e4d2a43951
Doh. We divide microseconds by 60?
2002-09-30 19:37:48 +00:00
Glenn L McGrath
5c99581880
Save status so we know if to delete compressed file
2002-09-30 05:30:29 +00:00
Glenn L McGrath
924f93e848
make_directory() will fail instantly so we dont need to test for failure here
2002-09-28 08:32:14 +00:00
Glenn L McGrath
891ee641cb
Fail straight away rather than recursively printing error messages :)
2002-09-28 08:30:47 +00:00
Glenn L McGrath
8132e933e6
Fix for using '-' as the filename when reading from stdin
2002-09-28 02:06:39 +00:00
Eric Andersen
92052e3945
Bug fix from Nitin Gupta <gupta@equator.com>
2002-09-27 23:34:53 +00:00
Glenn L McGrath
2e41d0cb77
Fix compress support and prevent a segfault
2002-09-27 06:46:02 +00:00
Glenn L McGrath
a47a3eada6
Fix simple define problem
2002-09-26 16:01:21 +00:00
Eric Andersen
6f2ebcaa01
Avoid calling exit() from within fork/vfork'ed processes.
...
-Erik
2002-09-26 13:59:40 +00:00
Eric Andersen
a920871c3a
Ignoring SIGCHLD causes a race leading to the occasional hang of init
...
when init will wait() on itself in waitfor() when the child exits before
init is scheduled to run. Letting init hang is very seriously bad.
-Erik
2002-09-25 15:08:40 +00:00
Glenn L McGrath
5a66b640f9
Reverse some minor changes that got caught up in my big unarchive patch
2002-09-25 06:08:19 +00:00
Glenn L McGrath
69eab26401
Remove files made obsolete by new unarchiving code
2002-09-25 03:04:03 +00:00
Glenn L McGrath
7ca04f328e
New common unarchive code.
2002-09-25 02:47:48 +00:00
Eric Andersen
ecfa290cfd
Fixup largefile settings
...
-Erik
2002-09-22 12:09:44 +00:00
Glenn L McGrath
b3f7261ffe
Fix error messages conditions, and make them the same as GNU mkdir.
2002-09-22 02:12:30 +00:00
Eric Andersen
3a1d8377ab
don't leak FILEs
2002-09-20 07:33:18 +00:00
Eric Andersen
19feada06f
update the noise a tiny bit
2002-09-18 20:52:26 +00:00