8bb7df49c2
Applied patch from Vladimir Oleynik via Magnus Damm that removes newlines from
...
error_msg() calls and uses 'return EXIT_SUCCESS' instead of return 0.
2001-03-06 20:58:48 +00:00
0f430e34af
Fix up some silly macros and use xmalloc and friends exclusively.
2001-03-06 20:54:43 +00:00
36278b9576
Fix func prototype
2001-03-06 20:47:31 +00:00
54851d3c65
Fixed a memory leak in lash. It seems that close_all was calling close()
...
directly instead of calling mark_closed(), which allowed the memory allocated
by mark_open() to never be freed.
-Erik
2001-03-06 20:44:39 +00:00
07f2f3917a
Close open files before calling builtin_exec(). I've tested this
...
and it fixes bug #1121 .
-Erik
2001-03-06 20:28:22 +00:00
1a046d5f9d
Bug 1110 reported that the LOOP_GET_STATUS ioctl apparently returnes non-zero
...
error messages, contrary to the documentation. Whatever. This patch from
zhaoway <zw@debian.org > looks safe enough.
-Erik
2001-03-06 19:35:58 +00:00
138ece09b5
minor cleanup
2001-03-06 19:25:25 +00:00
e6c4de03c6
First pass at trying to retrofit a changelog for 0.50. Please everyone
...
look over this and if I forgot something, misattributed your work, or
spelled something badly, please let me know.
-Erik
2001-03-06 18:46:10 +00:00
f15d4dad66
Add in a first pass at ifconfig status reporting. It took a long while
...
hacking on the mess in net-tools-1.59, but it currently adds 12k and
supports ethernet, loop, ppp, and treats everything else as a generic
interface. Works ok for me.
-Erik
2001-03-06 00:48:59 +00:00
5efa2291aa
Fix up the freshmeat appindex record.
2001-03-05 18:26:50 +00:00
c27b9544b6
Make sure libpwd.a is linked _last_ so it overrides the system pwd/grp
...
implementation. It wasn't doing that as expected...
2001-03-05 17:57:34 +00:00
47cdcdd359
Try to do a little better at documenting how to use
...
alternate C libraries, thanks to David Douthitt.
2001-03-05 17:08:52 +00:00
21b7459add
add wget, tr, telnet, ping, md5sum and loadkmap to .deb
2001-03-05 08:43:26 +00:00
afbff22e6e
Enable INSTALLER for the deb
2001-03-05 04:00:06 +00:00
452fd33ffa
Patch from Vladimir to make sure PATH is set correctly.
2001-03-04 06:47:33 +00:00
076cdc24fc
If umount2 is not available, stub it out.
2001-03-04 06:07:34 +00:00
9ead68975c
Added some words on use of getopt in applets.
2001-03-03 00:44:55 +00:00
323434be42
Dont try to automount some specific filesystem types
2001-03-02 22:21:34 +00:00
446dd27843
Applied patch from Vladimir N. Oleynik that fixes incorrect behaviour in
...
recovery_mode and changed option processing.
2001-03-02 20:00:54 +00:00
42ab250709
Removed section on testing that is now in contributing.txt.
2001-03-02 19:15:01 +00:00
3b565cdf91
Added 'How to contribute to Busybox' doc.
2001-03-02 19:14:25 +00:00
85adecb668
Whoops! BB_TFTP should prolly be off by default.
2001-03-02 19:11:26 +00:00
450736cd3c
Added Magnus Damm's tftp applet to Busybox.
2001-03-02 19:08:50 +00:00
016771834a
Changed exit code from -1 to 0 when busybox is invoked with no args.
...
(Closes bug #1114.)
2001-03-02 17:47:17 +00:00
39842defda
Applied patch from David Douthitt to fix build error in df.c when
...
BB_FEATURE_HUMAN_READABLE was disabled.
2001-03-01 18:51:33 +00:00
de4406747b
Bah. I missed a header file.
2001-03-01 07:55:49 +00:00
7b91f02021
Reduce the size of mount (and bypass /proc/filesystems) by using the sysfs
...
system call, based on work done by Glenn McGrath in December.
-Erik
2001-03-01 07:50:04 +00:00
93ba60f01d
Keep trying if an NFS mount fails, and eliminate a call to exit(3).
2001-02-28 15:33:12 +00:00
1b6cff3df4
libpwd was getting added twice.
2001-02-27 22:24:45 +00:00
4f76bb6f3e
Little patchlet to make linking against libc5 work a little better
2001-02-27 19:53:48 +00:00
4142d4dc66
Patch from Vladimir N. Oleynik to save 128 bytes by moving error
...
checking for some my_* functions to utility.c
2001-02-27 18:22:03 +00:00
e677dfedd1
Applied patch from Magnus Damm <damm@opensource.se> to fix a 'inner scope var
...
masking outer scope var with same name' bug that was preventing the loopback
device from being unmounted if mount() fails.
2001-02-26 17:45:58 +00:00
d11578f916
- changed the way POD is generated such that the dashed
...
line appears at the bottom instead of the top. The
indentation semantics of POD make the first item in
the (=over,=back) block look weird the other way.
- implemented a way to encode example usage into usage.h
One would define a macro called "${applet}_example_usage"
which would expand to the example text.
- The example usage is considered optional, but trivial and
full usage are not.
Here's an example using chown.
---- before
#define chown_trivial_usage \
"[OPTION]... OWNER[<.|:>[GROUP] FILE..."
#define chown_full_usage \
"Change the owner and/or group of each FILE to OWNER and/or GROUP.\n" \
"\nOptions:\n" \
"\t-R\tChanges files and directories recursively."
#define chown_example_usage \
"\t$ ls -l /tmp/foo\n" \
"\t-r--r--r-- 1 andersen andersen 0 Apr 12 18:25 /tmp/foo\n" \
"\t$ chown root /tmp/foo\n" \
"\t$ ls -l /tmp/foo\n" \
"\t-r--r--r-- 1 root andersen 0 Apr 12 18:25 /tmp/foo\n" \
"\t$ chown root.root /tmp/foo\n" \
"\tls -l /tmp/foo\n" \
"\t-r--r--r-- 1 root root 0 Apr 12 18:25 /tmp/foo\n"
---- after
=item I<chown>
chown [OPTION]... OWNER[<.|:>[GROUP] FILE...
Change the owner and/or group of each FILE to OWNER and/or GROUP.
Options:
-R Changes files and directories recursively.
Example:
$ ls -l /tmp/foo
-r--r--r-- 1 andersen andersen 0 Apr 12 18:25 /tmp/foo
$ chown root /tmp/foo
$ ls -l /tmp/foo
-r--r--r-- 1 root andersen 0 Apr 12 18:25 /tmp/foo
$ chown root.root /tmp/foo
ls -l /tmp/foo
-r--r--r-- 1 root root 0 Apr 12 18:25 /tmp/foo
-------------------------------
2001-02-26 02:50:11 +00:00
2bf658d5cd
This patch, from Quinn Jensen <jensenq@lineo.com>, adds MIPS support
...
to busybox insmod. Thanks Quinn!!!
-Erik
2001-02-24 20:01:53 +00:00
afeb96547f
Make output match the real lsmod -- print (autoclean) type
...
stuff first not last.
-Erik
2001-02-24 19:51:54 +00:00
d160a27ec1
Stub out the syscall, not the whole application. The stubbed
...
out syscall sets errno properly and whines about missing kernel
support.
-Erik
2001-02-24 19:17:07 +00:00
dc12190ba2
The usage message for syslogd had stuff longer then 80 chars and wrapped.
2001-02-24 18:52:36 +00:00
37977622c4
...
2001-02-24 14:44:25 +00:00
7d597c4833
refinement
2001-02-24 14:37:48 +00:00
dbfff6cbde
formatting ...
2001-02-23 17:55:03 +00:00
e6967b20cb
Added some documentation and made --sgml use sgml_from_usage().
...
pod_from_usage() is the default generator.
2001-02-23 17:51:08 +00:00
3757f98d86
Another usage cleanup from kent robotti
2001-02-23 17:47:51 +00:00
8373e70c55
During POD generation, it inserts a blank line before lines
...
that were intended to be indented.
2001-02-23 17:41:41 +00:00
7a9cc2dcdd
More cleanups
2001-02-23 16:58:44 +00:00
15f9b92127
forgot to remove some debugging noise
2001-02-23 16:16:08 +00:00
df1e9daf30
This one should be able to deal with the USAGE macros a little
...
more robustly. I also blow away any USAGE_NOT_\w+ macros.
2001-02-23 16:15:34 +00:00
ed0d958c3e
Make HUMAN_READABLE be single argument like the others.
2001-02-23 13:23:03 +00:00
2498b155fd
forgot a comma.
2001-02-23 13:04:39 +00:00
a0cfe94c4e
More usage cleanups from kent robotti. I know some of these were
...
applied previously but apparently lost with some of the latest changes.
2001-02-23 10:07:09 +00:00
b83ffafc15
Fix up a stupid mistake caught by David Whedon <dwhedon@gordian.com>
2001-02-23 06:36:53 +00:00