Eric Andersen [Tue, 22 Oct 2002 19:15:43 +0000 (19:15 -0000)]
I committed the fflush in the wrong spot. I should go to bed
earlier so I don't screw up such easy stuff.
-Erik
Eric Andersen [Tue, 22 Oct 2002 12:24:59 +0000 (12:24 -0000)]
last_patch63 from vodz: add in crond and crontab applets
Eric Andersen [Tue, 22 Oct 2002 12:21:15 +0000 (12:21 -0000)]
Patch last_pach62 from vodz. This patch moves all the /proc parsing
code into libbb so it can be shared by ps, top, etc, saving over 1.5k.
Eric Andersen [Tue, 22 Oct 2002 11:58:59 +0000 (11:58 -0000)]
Apply last_patch51_3 from vodz
Eric Andersen [Tue, 22 Oct 2002 11:45:20 +0000 (11:45 -0000)]
Be absurdly careful about flushing stdout.
Glenn L McGrath [Tue, 22 Oct 2002 01:07:32 +0000 (01:07 -0000)]
Move unzip.c uncompress.c from libbb to archiveal/libunarchive
Glenn L McGrath [Mon, 21 Oct 2002 06:29:55 +0000 (06:29 -0000)]
gz_open is used anymore, use inflate directly, see how its done in get_header_tar_gz
Glenn L McGrath [Sat, 19 Oct 2002 23:56:41 +0000 (23:56 -0000)]
Dont try and make the "/" directory
Glenn L McGrath [Sat, 19 Oct 2002 10:40:55 +0000 (10:40 -0000)]
Update dpkg to use new unarchive code
Glenn L McGrath [Sat, 19 Oct 2002 06:19:22 +0000 (06:19 -0000)]
Fix exclude/include problem
Glenn L McGrath [Sat, 19 Oct 2002 05:10:51 +0000 (05:10 -0000)]
Find a string in a list
Glenn L McGrath [Sat, 19 Oct 2002 02:18:51 +0000 (02:18 -0000)]
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.
Glenn L McGrath [Sat, 19 Oct 2002 00:46:35 +0000 (00:46 -0000)]
Dont use absolute pathname (dunno why i did that), fix tar filename/stdin problems
Glenn L McGrath [Fri, 18 Oct 2002 23:59:40 +0000 (23:59 -0000)]
Put bac kthe code that handles cases where a '-' wasnt specified prior to the options.
Eric Andersen [Fri, 18 Oct 2002 22:31:02 +0000 (22:31 -0000)]
Fix an obvious thinko
-Erik
Eric Andersen [Fri, 18 Oct 2002 22:18:10 +0000 (22:18 -0000)]
disambiguate a test
Eric Andersen [Fri, 18 Oct 2002 22:14:07 +0000 (22:14 -0000)]
Fix needless formatting differences vs modutils
Eric Andersen [Fri, 18 Oct 2002 22:13:23 +0000 (22:13 -0000)]
Fix needless difference vs GNU
Russ Dill [Mon, 14 Oct 2002 21:47:07 +0000 (21:47 -0000)]
missed add for udhcp
Russ Dill [Mon, 14 Oct 2002 21:41:28 +0000 (21:41 -0000)]
added full udhcp integration
Eric Andersen [Sat, 12 Oct 2002 04:16:08 +0000 (04:16 -0000)]
Doh! I screwed up applying vodz' patch.
-Erik
Eric Andersen [Sat, 12 Oct 2002 04:05:48 +0000 (04:05 -0000)]
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).
Eric Andersen [Thu, 10 Oct 2002 04:20:21 +0000 (04:20 -0000)]
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.
Eric Andersen [Thu, 10 Oct 2002 03:55:09 +0000 (03:55 -0000)]
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.
Eric Andersen [Thu, 10 Oct 2002 03:47:01 +0000 (03:47 -0000)]
last_patch59 from vodz to cleanup chmod and correctly parse '-rwxgoa'
Eric Andersen [Thu, 10 Oct 2002 03:44:12 +0000 (03:44 -0000)]
last_patch58_2 from vodz -- add FEATURE_CPU_USAGE_PERCENTAGE option
"Steven J. Hill" [Tue, 8 Oct 2002 21:33:51 +0000 (21:33 -0000)]
Fixed the script. It always put output to 'stdout' and never to
the 'modules.dep' file.
Eric Andersen [Tue, 8 Oct 2002 19:31:04 +0000 (19:31 -0000)]
Remember to delete docs/busybox.pod
Eric Andersen [Tue, 8 Oct 2002 09:38:07 +0000 (09:38 -0000)]
Fix missing \n noticed by Robert Schwebel
Glenn L McGrath [Sun, 6 Oct 2002 23:25:23 +0000 (23:25 -0000)]
Fix segfault when testing if reaidng from stdin "-"
Eric Andersen [Mon, 30 Sep 2002 20:59:33 +0000 (20:59 -0000)]
Fix init docs
Eric Andersen [Mon, 30 Sep 2002 20:53:38 +0000 (20:53 -0000)]
Bugfix from Claudio Fleiner <claudio@fleiner.com>
Eric Andersen [Mon, 30 Sep 2002 20:52:10 +0000 (20:52 -0000)]
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 ;)
Eric Andersen [Mon, 30 Sep 2002 20:39:56 +0000 (20:39 -0000)]
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
Eric Andersen [Mon, 30 Sep 2002 20:39:12 +0000 (20:39 -0000)]
Fix dependancy so we rebuild busybox.o, usage.o and busybox.o
whenever the config changes.
-Erik
Eric Andersen [Mon, 30 Sep 2002 20:20:20 +0000 (20:20 -0000)]
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>
Eric Andersen [Mon, 30 Sep 2002 20:14:57 +0000 (20:14 -0000)]
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.
Eric Andersen [Mon, 30 Sep 2002 20:12:32 +0000 (20:12 -0000)]
Don't even try to run ash on uClinux. It won't work.
-Erik
Eric Andersen [Mon, 30 Sep 2002 20:08:53 +0000 (20:08 -0000)]
Set the close-on-exec flag, just to be saf
Eric Andersen [Mon, 30 Sep 2002 19:37:48 +0000 (19:37 -0000)]
Doh. We divide microseconds by 60?
Glenn L McGrath [Mon, 30 Sep 2002 05:30:29 +0000 (05:30 -0000)]
Save status so we know if to delete compressed file
Glenn L McGrath [Sat, 28 Sep 2002 08:32:14 +0000 (08:32 -0000)]
make_directory() will fail instantly so we dont need to test for failure here
Glenn L McGrath [Sat, 28 Sep 2002 08:30:47 +0000 (08:30 -0000)]
Fail straight away rather than recursively printing error messages :)
Glenn L McGrath [Sat, 28 Sep 2002 02:06:39 +0000 (02:06 -0000)]
Fix for using '-' as the filename when reading from stdin
Eric Andersen [Fri, 27 Sep 2002 23:34:53 +0000 (23:34 -0000)]
Bug fix from Nitin Gupta <gupta@equator.com>
Glenn L McGrath [Fri, 27 Sep 2002 06:46:02 +0000 (06:46 -0000)]
Fix compress support and prevent a segfault
Glenn L McGrath [Thu, 26 Sep 2002 16:01:21 +0000 (16:01 -0000)]
Fix simple define problem
Eric Andersen [Thu, 26 Sep 2002 13:59:40 +0000 (13:59 -0000)]
Avoid calling exit() from within fork/vfork'ed processes.
-Erik
Eric Andersen [Wed, 25 Sep 2002 15:08:40 +0000 (15:08 -0000)]
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
Glenn L McGrath [Wed, 25 Sep 2002 06:08:19 +0000 (06:08 -0000)]
Reverse some minor changes that got caught up in my big unarchive patch
Glenn L McGrath [Wed, 25 Sep 2002 03:04:03 +0000 (03:04 -0000)]
Remove files made obsolete by new unarchiving code
Glenn L McGrath [Wed, 25 Sep 2002 02:47:48 +0000 (02:47 -0000)]
New common unarchive code.
Eric Andersen [Sun, 22 Sep 2002 12:09:44 +0000 (12:09 -0000)]
Fixup largefile settings
-Erik
Glenn L McGrath [Sun, 22 Sep 2002 02:12:30 +0000 (02:12 -0000)]
Fix error messages conditions, and make them the same as GNU mkdir.
Eric Andersen [Fri, 20 Sep 2002 07:33:18 +0000 (07:33 -0000)]
don't leak FILEs
Eric Andersen [Wed, 18 Sep 2002 20:52:26 +0000 (20:52 -0000)]
update the noise a tiny bit
Eric Andersen [Wed, 18 Sep 2002 20:48:20 +0000 (20:48 -0000)]
Update webpage
Manuel Novoa III [Wed, 18 Sep 2002 19:27:10 +0000 (19:27 -0000)]
Commit vodz's patch, plus a tweak to change TracePid to TracerPid. Now
works on i386 (2.4.19) and arm (2.4.6).
Eric Andersen [Wed, 18 Sep 2002 14:23:06 +0000 (14:23 -0000)]
patch from John Hall <john.hall@optionexist.co.uk> to change the
klogd specific messages to facility LOG_SYSLOG and tidies up some
of the priorities.
Eric Andersen [Tue, 17 Sep 2002 22:14:58 +0000 (22:14 -0000)]
Add a new top applet
-Erik
Eric Andersen [Tue, 17 Sep 2002 21:21:27 +0000 (21:21 -0000)]
Clear screen too.
Eric Andersen [Tue, 17 Sep 2002 21:17:35 +0000 (21:17 -0000)]
re-enable the cursor, in case it got disabled
-Erik
Manuel Novoa III [Tue, 17 Sep 2002 21:02:16 +0000 (21:02 -0000)]
Modified so that it "works" for archs other than i386... arm in particular.
Also tried to clean up the logic a little, and ensure that read errors
or invalid archives resulted in error returns. This could use a lot more
work... Volunteers?
Eric Andersen [Tue, 17 Sep 2002 20:53:41 +0000 (20:53 -0000)]
Sane-ify the screen clearing stuff.
-Erik
Eric Andersen [Tue, 17 Sep 2002 20:35:58 +0000 (20:35 -0000)]
hehe.
Eric Andersen [Tue, 17 Sep 2002 20:06:29 +0000 (20:06 -0000)]
Vodz' last_patch57:
Ok. Patch with reduce size ready.
Notes: syslogd imposible close logsocket,
the real programm write logmessages (hmm, cycle loop?)
(Excuse me - this have small tab-formats rewroting also)
text data bss dec hex filename
2913 332 12388 15633 3d11 syslogd.o
3109 332 9252 12693 3195 syslogd_old.o
Eric Andersen [Tue, 17 Sep 2002 08:44:56 +0000 (08:44 -0000)]
Support setting depth
Eric Andersen [Tue, 17 Sep 2002 08:42:21 +0000 (08:42 -0000)]
last_patch56 from vodz to simplify copy_file logic
Eric Andersen [Tue, 17 Sep 2002 08:41:08 +0000 (08:41 -0000)]
Patch from "Joe.C" <joe@numa.com.tw>
Eric Andersen [Tue, 17 Sep 2002 08:40:12 +0000 (08:40 -0000)]
Patch from David McCullough <davidm@snapgear.com>
Eric Andersen [Tue, 17 Sep 2002 06:36:56 +0000 (06:36 -0000)]
Use "MiB" not "Mb"
-Erik
Eric Andersen [Tue, 17 Sep 2002 05:43:26 +0000 (05:43 -0000)]
Typo fix from Steven Merrifield
Eric Andersen [Mon, 16 Sep 2002 10:44:24 +0000 (10:44 -0000)]
last_patch55 from vodz:
I found overflow problem in xargs applet
(allocated not space for trailing '\0').
Last patch also reduce 22 bytes size. ;)
Eric Andersen [Mon, 16 Sep 2002 10:23:38 +0000 (10:23 -0000)]
Let people force overwrite links
-Erik
Eric Andersen [Mon, 16 Sep 2002 09:23:22 +0000 (09:23 -0000)]
Properly honor FILEUTILS_INTERACTIVE and FILEUTILS_FORCE for
file all file types (not just regular files and dirs). Unlink
destination files when needed.
-Erik
Glenn L McGrath [Mon, 16 Sep 2002 09:10:04 +0000 (09:10 -0000)]
Watch applet by Michael Habermann
Eric Andersen [Mon, 16 Sep 2002 07:25:41 +0000 (07:25 -0000)]
Patch from Matthias Lang <matthias@corelatus.se> to fix gunzip
error handling and prevent gunzip from hanging.
Eric Andersen [Mon, 16 Sep 2002 06:49:06 +0000 (06:49 -0000)]
Let people run SHUTDOWN actions prior to killing everything
-Erik
Eric Andersen [Mon, 16 Sep 2002 06:32:16 +0000 (06:32 -0000)]
Fix stupid typo noticed by John Mullin <john.mullin@homenetcomm.com>
Eric Andersen [Mon, 16 Sep 2002 06:22:25 +0000 (06:22 -0000)]
Apply vodz' last_patch52
Eric Andersen [Mon, 16 Sep 2002 05:30:24 +0000 (05:30 -0000)]
Support module tainting
-Erik
Glenn L McGrath [Mon, 16 Sep 2002 04:21:46 +0000 (04:21 -0000)]
mesg applet by Manuel Novoa III
Glenn L McGrath [Mon, 16 Sep 2002 03:47:48 +0000 (03:47 -0000)]
Put in GPL v2 or later copyright notice
Glenn L McGrath [Mon, 16 Sep 2002 03:16:06 +0000 (03:16 -0000)]
openvt applet by Quy Tonthat
Glenn L McGrath [Sun, 15 Sep 2002 17:20:45 +0000 (17:20 -0000)]
Use busybox's show_usage function for help
Glenn L McGrath [Sun, 15 Sep 2002 17:03:48 +0000 (17:03 -0000)]
Awk applet written from scratch by Dmitry Zakharov
Glenn L McGrath [Sun, 15 Sep 2002 16:54:49 +0000 (16:54 -0000)]
Support for GNU style long filename and linknames
Eric Andersen [Thu, 12 Sep 2002 15:44:53 +0000 (15:44 -0000)]
Patch from Thomas Gleixner <tglx@linutronix.de> to do
automatic child reaping to avoid zombies
Manuel Novoa III [Thu, 12 Sep 2002 14:52:26 +0000 (14:52 -0000)]
Apply vodz's last_patch53.gz (bb_asprintf.c) and last_patch54.gz
(arith.c).
Eric Andersen [Tue, 10 Sep 2002 06:03:31 +0000 (06:03 -0000)]
Fix for handling of "tftp -l -" from Jean Wolter <jw5@os.inf.tu-dresden.de>
Eric Andersen [Tue, 10 Sep 2002 05:23:29 +0000 (05:23 -0000)]
Yipe. uid and gid were reversed.
-Erik
Eric Andersen [Sun, 1 Sep 2002 06:45:55 +0000 (06:45 -0000)]
Some CML1 grammar fixes
-Erik
Eric Andersen [Mon, 26 Aug 2002 21:36:32 +0000 (21:36 -0000)]
Eliminate use of obsolete sys_errlist[]
-Erik
Glenn L McGrath [Mon, 26 Aug 2002 17:17:27 +0000 (17:17 -0000)]
chmod on the NEW file
Glenn L McGrath [Sat, 24 Aug 2002 20:11:38 +0000 (20:11 -0000)]
Dont return an error if the directory already existed
Glenn L McGrath [Sat, 24 Aug 2002 20:00:52 +0000 (20:00 -0000)]
Fix warning
Glenn L McGrath [Sat, 24 Aug 2002 14:32:17 +0000 (14:32 -0000)]
Reorganise, make it just one function, remove -v option it didnt work properly anyway, dont setvbuf it doesnt make any difference in performance.
Glenn L McGrath [Sat, 24 Aug 2002 10:30:36 +0000 (10:30 -0000)]
Run through indent, use braces
Aaron Lehmann [Fri, 23 Aug 2002 22:09:50 +0000 (22:09 -0000)]
Remove extrangeous backslashes that were probably introduced by
someone joining lines and forgetting to remove the backslash escaping
the newline.
Glenn L McGrath [Fri, 23 Aug 2002 17:19:26 +0000 (17:19 -0000)]
Rewrite, its smaller