5e66a26eaa
Dont setvbuff in here, must be called just after stream is initialised, glibc tolerates using it later, uclibc doesnt
Glenn L McGrath
2001-07-13 06:51:56 +00:00
26a0d9a945
Call setvbuf from here isntead of gz_open for compatability with uclibc
Glenn L McGrath
2001-07-13 06:49:18 +00:00
b028e08d35
Move setvbuf calls from gz_open() to calling functions, setvbuf is only supposed to be called prior to opening the stream, glibc tolerates later use, uclibc doesnt.
Glenn L McGrath
2001-07-13 06:43:03 +00:00
7467c8d3b6
Patch from vodz: Changed email address cmdedit API change optimizations for traceroute and md5sum added a new shared create_icmp_socket() function
Eric Andersen
2001-07-12 20:26:32 +00:00
f69bfc76fa
Allow assignments in the export and readonly commands.
Matt Kraai
2001-07-12 19:39:59 +00:00
ab6526c8b3
Remove debugging statement.
Matt Kraai
2001-07-12 18:44:34 +00:00
3e94f729a5
Quiet mode, sometimes error messages arent wanted
Glenn L McGrath
2001-07-12 10:24:57 +00:00
c127008840
Allow unarchive to redirect stdout (tobe used by dpkg applet)
Glenn L McGrath
2001-07-11 17:32:14 +00:00
481d19b38e
Fix bug where it wasnt returning the last line of a multiline field
Glenn L McGrath
2001-07-11 15:43:03 +00:00
daf0b78e1a
Reverse part of my previous changes
Glenn L McGrath
2001-07-11 15:32:52 +00:00
93febe672a
free coniditionally, just to make it play nice with dmalloc which is incompatable with standard free()
Glenn L McGrath
2001-07-11 07:25:01 +00:00
c59fa37d40
Make the obj's generated from libbb/unarchive.c depend on the Makefile, so things like setting DODMALLOC will cause them to be recompiled -Erik
Eric Andersen
2001-07-11 07:24:05 +00:00
248c57ca43
minor dmalloc inspired cleanups
Glenn L McGrath
2001-07-11 07:22:17 +00:00
59e50f634a
Unpack the filename not the package name
Glenn L McGrath
2001-07-11 03:30:11 +00:00
8c145dc31b
Fix a stupid search and replace bug...
Eric Andersen
2001-07-10 16:57:09 +00:00
55522080c6
Patch for md5sum from Aaron Lehmann <aaronl@vitelus.com> to slim it down a little bit.
Eric Andersen
2001-07-10 16:31:29 +00:00
5c58d283bb
A traceroute applet from vodz. This could probably be slimmed down, but will do for now...
Eric Andersen
2001-07-10 16:29:00 +00:00
91b84603d3
Cleanup from vodz
Eric Andersen
2001-07-10 16:25:34 +00:00
2a46634617
Make the rev be 0.53pre...
Eric Andersen
2001-07-10 15:24:16 +00:00
5710f9f690
Read 20 512-byte blocks at a time (like GNU tar).
Matt Kraai
2001-07-10 15:05:39 +00:00
654944fc36
Reverse my previous change, still cant compile with dmalloc
Glenn L McGrath
2001-07-10 14:33:22 +00:00
c3d2f1287e
When compiling unarchive objects link to $(LIBRARIES) incase using dmalloc
Glenn L McGrath
2001-07-10 14:04:30 +00:00
6199fa90e5
Update version number to 0.53pre.
Matt Kraai
2001-07-10 13:57:30 +00:00
6248355c6f
vodz' latest update to ash.c
Eric Andersen
2001-07-10 06:09:16 +00:00
5a4a46a251
Patch from vodz to support 'tr a-z A-Z' syntax.
Eric Andersen
2001-07-09 21:32:29 +00:00
f52947ba71
Fix the spec file so it works on redhat systems. At least I think it will work on redhat. At least it now works on my Debian box... -Erik
Eric Andersen
2001-07-09 18:34:12 +00:00
aa64ba459f
Minor working update
Eric Andersen
2001-07-07 16:36:29 +00:00
ceece81414
Move a bit more to the old news section
Eric Andersen
2001-07-07 09:38:30 +00:00
d0e5f86a10
Enable APPLETS_ALWAYS_WIN
Eric Andersen
2001-07-07 09:37:28 +00:00
d0b4d3dabf
Typo fix.
Eric Andersen
2001-07-07 08:47:21 +00:00
7b2dfc623b
Move some stuff to the oldnews area
Eric Andersen
2001-07-07 08:44:25 +00:00
40ecf7da88
Update web page...
0_52
Eric Andersen
2001-07-07 08:25:03 +00:00
5c3070b29c
Update changelogs
Eric Andersen
2001-07-07 08:13:27 +00:00
807bda4a24
Minor update to include file ordering
Eric Andersen
2001-07-07 08:13:02 +00:00
7cd5075908
This is out of date, and Glenn tells me this can be safely deleted. To be useful on Hurd will really require the new build system... -Erik
Eric Andersen
2001-07-07 05:25:12 +00:00
48dfc56b4a
This patch from Fabio Ferrari <fabio.ferrari@digitro.com.br> enables "broadcast +" for deriving the broadcast address automagically.
Eric Andersen
2001-07-07 05:19:52 +00:00
d9d75555ba
Remove rpmunpack
Eric Andersen
2001-07-07 04:43:56 +00:00
9137f2a2d1
This is obsolete -- replaced by rpm2cpio
Eric Andersen
2001-07-07 04:33:16 +00:00
5a071bcbf2
Avoid a segfault (detected by Fabio Ferrari <fabio.ferrari@digitro.com.br> in the wget applet) when concat_path_file() or last_char_is() were fed a NULL. -Erik
Eric Andersen
2001-07-07 04:27:35 +00:00
934c8ecb88
Fix sh.c so it works with DMALLOC
Eric Andersen
2001-07-07 04:24:28 +00:00
1c03923b0b
Add in a shell tagline (per lash/hush behavior) to make it easier to know which shell is in use. Add in 'help' to list available builtins, and fixup msh so it can do STANDALONE_SHELL. -Erik
Eric Andersen
2001-07-07 00:05:55 +00:00
b7e6f13b3c
Some minor updates. Bump version number in preparation for release. -Erik
Eric Andersen
2001-07-07 00:03:00 +00:00
0279505e8c
Update the debian packaging stuff
Eric Andersen
2001-07-06 20:36:57 +00:00
d28cb03819
Forgot this
Eric Andersen
2001-07-06 19:28:49 +00:00
c308847274
Remove redundant initialization of lfile to reduce executable size by 8192 bytes (noted by Mike Castle).
Matt Kraai
2001-07-06 19:28:07 +00:00
00e56ada9c
Let people select their shell at compile time.
Eric Andersen
2001-07-06 19:24:27 +00:00
3bbcc95ac9
update the ignore list
Eric Andersen
2001-07-06 19:19:21 +00:00
d22b78ff05
Fix a stupid bug revealed by multibuild.pl
Eric Andersen
2001-07-06 18:33:04 +00:00
77b68e6f42
Add woukaround for missing struct _res in uClibc
Eric Andersen
2001-07-06 17:51:29 +00:00
3102ac4b58
This is vodz' latest ash update.
Eric Andersen
2001-07-06 04:26:23 +00:00
5009f90ea2
Removed obsolete function, strdup_substr.
Matt Kraai
2001-07-05 19:00:47 +00:00
44edeff025
Note my activities (how immodest of me).
Matt Kraai
2001-07-05 18:32:01 +00:00
8e75f6daa6
Fix a stupid thinko, and fix killall to cope with the updated find_pid_by_name() interface -Erik
Eric Andersen
2001-07-05 16:27:34 +00:00
332394b577
Be extra extra careful about what we dereference.
Eric Andersen
2001-07-05 16:09:32 +00:00
d50a61956c
Implement suggestion from Adam Slattery, (don't default to killing closing bug #1190.
Eric Andersen
2001-07-05 15:56:36 +00:00
94f3a570e1
Fix a thinko (the symptoms of which were reported by David Douthitt in bug #1111).
Matt Kraai
2001-07-05 14:46:07 +00:00
8df319b213
A bit of testing today showed that ASH_BBAPPS_AS_BUILTINS was totally breaking the shell. Simple thinge like 'FOO=100' caused it to segfault. It turns out that disabling "bltincmd" is a very bad idea. -Erik
Eric Andersen
2001-07-05 05:24:12 +00:00
ed8495990a
gunzip, zcat were fixed just after 0.51 was released
Glenn L McGrath
2001-07-05 03:46:23 +00:00
bbac261402
ash, hush and msh are new applets to 0.52
Glenn L McGrath
2001-07-05 03:42:17 +00:00
7f3cbdd7fd
Added entries for my commits
Glenn L McGrath
2001-07-05 03:28:28 +00:00
623cfa99e5
Remove a redundant call to mkdir.
Matt Kraai
2001-07-03 20:55:30 +00:00
dd8500bce7
Cleanups and sinze reduction for the vi applet from Aaron Lehmann <aaronl@vitelus.com>
Eric Andersen
2001-07-02 18:06:14 +00:00
3073dfbf30
Patch from Aaron Lehmann <aaronl@vitelus.com> to scrub a ton of portability junk from gzip.c, making it a zillion times more readable.
Eric Andersen
2001-07-02 17:57:32 +00:00
22ecf049b6
Per patch from vodz, change a couple of consts to defines, since apparently gcc 2.95.4, at least, is too stupid to realize that a "static const int" is in fact a constant.
Eric Andersen
2001-07-02 17:32:40 +00:00
2870d964f8
Some updates to ash from vodz. Makes ash smaller. I made a few changes, esp describing all the current ash configuration options. Now ash adds 66k in the default configuration.
Eric Andersen
2001-07-02 17:27:21 +00:00
8f6978405d
Patch from vodz to fix freeing a static in cmdedit.
Eric Andersen
2001-07-02 15:36:57 +00:00
10175a43ee
Simplify a comment
Eric Andersen
2001-06-30 18:11:52 +00:00
0159597bd6
Generalize comment -- no longer ls specific
Eric Andersen
2001-06-30 18:08:36 +00:00
7e516797f9
Pad the human readable output for 'ls -sh' to 6 chars, since we will have numbers printed as XXX.YU, so we need 6 digits not 4. -Erik
Eric Andersen
2001-06-30 18:00:26 +00:00
8fa1bf7cd6
Fix a silly logic error which caused symlinks to be printed twice, and wrongly caused the return code to be an error. -Erik
Eric Andersen
2001-06-30 17:54:20 +00:00
8f01839386
Fixed scaling problems involving make_human_readable_str.
Manuel Novoa III
2001-06-30 07:48:01 +00:00
a77cfbfd0c
ls -s was reporting bytes instead of blocks.
Manuel Novoa III
2001-06-30 07:46:50 +00:00
d877d44d12
All-integer version (but it does use an unsigned long long) which fixes the problems of the previous version (used floating point, overflowed, didn't round properly). The comments at the top of the file are worth reading; especially note 2 concerning "ls -sh".
Manuel Novoa III
2001-06-30 07:40:44 +00:00
db15cb72e2
A really nice patch from Manuel Novoa III for compile time configurable size/speed tradeoffs.
Eric Andersen
2001-06-29 20:44:51 +00:00
a2949aa217
Add some missing includes to kill warnings when building with the default Config.h and using gcc's -fno-builtin. There are probably other files with the similar problems. Also, if building against uClibc, don't include asm/unistd.h in syscalls.c and module_syscalls.c.
Manuel Novoa III
2001-06-29 18:59:32 +00:00
ff9eee475f
This is a busybox port of the Minix shell. It is reasonably capable, handles all the basic stuff (for, case/esac, while, if/then/else), and is very small (adds just 38k on x86). It is not as rigorously correct about Bourne semantics as bash, but for most things it is quite workable. There is still some work to be done to further shrink it (it has its own globbing functions instead of using the libc ones, for example), but it is quite usable as is. -Erik
Eric Andersen
2001-06-29 04:57:14 +00:00
66ca9480c8
Fix a nasty hard to spot bug found by Ralph Siemsen <ralphs@netwinder.org>. This would cause it to obliterates the end of the strtab section, so symbol lookups would fail and then it would crash. Ugh. This should fix things for people having trouble with insmod.
Eric Andersen
2001-06-28 21:36:06 +00:00
029b4a0422
Allow xrealloc to act as a free() when size=0, per SuS2. -Erik
Eric Andersen
2001-06-28 21:22:19 +00:00
ec23c4920f
Remove vodz from credits, per his request
Eric Andersen
2001-06-28 16:43:57 +00:00
df82f611c8
Scrub up the licensing block -Erik
Eric Andersen
2001-06-28 07:46:40 +00:00
cb57d551a2
This a an ash applet I put together. It is similar to the one put together by vodz, but uses newer sources, has the removed features commented out instead of simply deleted (so they could be re-enabled) and the builtins all work. This adds 72k. -Erik
Eric Andersen
2001-06-28 07:25:16 +00:00
184d73636d
Remove unneeded stuff.
Eric Andersen
2001-06-28 03:22:19 +00:00
028b65b060
More thrashing about trying to make hush behave itself wrt job control...
Eric Andersen
2001-06-28 01:10:11 +00:00
07abfe2092
don't whine if all we need to do is remove a bg job
Eric Andersen
2001-06-27 17:29:11 +00:00
0d8cc1670c
Fix a type promotion bug discivered and analyzed by Alan Modra <amodra@bigpond.net.au>, which caused false checksum errors
Eric Andersen
2001-06-27 06:15:50 +00:00
4b6b5e4314
Re-enable globbing (I'd accidentaly removed it) and finish off the last of the job control polishing. Works fine now. -Erik
Eric Andersen
2001-06-27 04:30:11 +00:00
5c66d06104
Explicitly call setsid()
Eric Andersen
2001-06-26 23:16:31 +00:00
0392b8638e
Minor formatting change
Eric Andersen
2001-06-26 23:11:44 +00:00
a90f20b1c3
Don't choke if /etc/profile is not available
Eric Andersen
2001-06-26 23:00:21 +00:00
d98337a7b4
Fix ps so it doesn't waste space showing group, as it is pretty much meaningless anyways. -Erik
Eric Andersen
2001-06-26 22:55:45 +00:00
91a6318d55
Make it so we don't segfault when /proc isn't mounted -- guess pid 1... -Erik
Eric Andersen
2001-06-26 22:44:09 +00:00
5ef5614c31
Don't use void * to pass pointers of known type
Eric Andersen
2001-06-26 16:36:26 +00:00
78b0e379d7
Vladimir's last_patch_15
Glenn L McGrath
2001-06-26 02:06:08 +00:00
addabd6f16
Patch from Gennady Feldman This should fix "circular buffer" error message shown when running "syslogd -C"
Glenn L McGrath
2001-06-26 01:41:59 +00:00
f8736d251e
rpm2cpio applet by Laurence Anderson
Glenn L McGrath
2001-06-26 01:19:34 +00:00
6c947d289f
Fix the code for establishing a controlling terminal. -Erik
Eric Andersen
2001-06-25 22:24:38 +00:00
24982c589b
Fix up some warnings that show up on ppc
Eric Andersen
2001-06-25 19:31:48 +00:00
2d848a476a
This should finish off the job control issues with lash. Make certain we have a controlling terminal... -Erik
Eric Andersen
2001-06-25 17:11:54 +00:00
2e6d3cfa82
Nore unarchive (and doc) fixes from Laurence Anderson
Glenn L McGrath
2001-06-24 12:36:54 +00:00