Denis Vlasenko
89f0b3486d
rodata cleanup. "unable to" == "cannot". -300 bytes
2006-11-18 22:04:09 +00:00
Denis Vlasenko
61126ab30a
small fixes: using fd-based io instead of FILE*-based,
...
missed O_TRUNC, etc
2006-11-18 22:03:26 +00:00
Denis Vlasenko
5a3395bc01
udhcp: fix indentation and style.
...
Eliminate (group) a lot of smallish *.h files
Remove lots of unneeded #includes
2006-11-18 19:51:32 +00:00
Denis Vlasenko
abfc4cf6d8
Add names of people historically linked to bbox project
2006-11-18 16:30:04 +00:00
Denis Vlasenko
f7eaccde13
nc: fix --help text
2006-11-18 02:17:37 +00:00
Denis Vlasenko
a7189f01a4
add -Wundef, fix uncovered bugs
2006-11-17 20:29:00 +00:00
Denis Vlasenko
04c6386c45
forgot about avn add... :(
2006-11-17 18:58:49 +00:00
Denis Vlasenko
8a00f44bf4
runit: add runsv, runsvdir and sv. Oh yes.
...
It even seems to work. +11K. :(
2006-11-17 18:58:16 +00:00
Denis Vlasenko
a5342b4541
httpd: make Bernhard happier
2006-11-17 18:26:57 +00:00
Bernhard Reutner-Fischer
8bfd215fb2
- Set INSTALL_OPTS according to the config.
2006-11-17 13:54:29 +00:00
Bernhard Reutner-Fischer
193bcf381e
- fix generation of the busybox.links install script inputfile
2006-11-17 13:17:04 +00:00
Bernhard Reutner-Fischer
68532b3578
- typo fix
2006-11-17 12:47:50 +00:00
Bernhard Reutner-Fischer
e766715032
- end may be used uninitialized.
...
- TODO: should eventually use skip_whitespace there
2006-11-17 11:28:00 +00:00
Denis Vlasenko
b3a071543d
httpd: reduce ifdef forest. comment out redundant PATH setting
2006-11-16 18:04:43 +00:00
Denis Vlasenko
d4f3d1a4bd
httpd:
...
fix union aliasing bug
symptom: wget of non-existent file gets redirected to /text/html/something
on second and subsequend wget attempts
fix double-free bug
symptom: glibc caught double-free (we didn't NULL config->xxx ptrs after free)
2006-11-16 16:20:12 +00:00
Denis Vlasenko
0871bc89fb
httpd: add -i (inetd) and -f (foreground) otions.
...
-i makes possible to run httpd in both inetd and standalone mode
without recompile (or need to have two different binaries)
2006-11-16 16:17:02 +00:00
Denis Vlasenko
e867b7ce86
httpd: stop being silly with setenv
2006-11-16 16:12:09 +00:00
Denis Vlasenko
83ea643d8d
svlogd: new applet. +9k. Still too big, but it was 12k yesterday.
2006-11-16 02:27:24 +00:00
Mike Frysinger
3672fe9e91
remove duplicate flag decls
2006-11-15 21:52:10 +00:00
Denis Vlasenko
1119972f91
umount: umount -a shouldn't stop on first failure
2006-11-12 17:23:45 +00:00
Denis Vlasenko
6c5e5a0e85
httpd: cosmetic fixes (the bug which was being hunted down
...
turned out to be nonexistent :)
2006-11-10 23:28:57 +00:00
Denis Vlasenko
067e3f031a
wget: fix error message.
...
Bad:
wget http://127.0.0.1:81/fgdg/Makefile
Connecting to 127.0.0.1[127.0.0.1]:81
: HTTP/1.0 404 Not Foundror 404 Not Found
Good:
wget http://127.0.0.1:81/fgdg/Makefile
Connecting to 127.0.0.1[127.0.0.1]:81
get: server returned error: HTTP/1.0 404 Not Found
nslookup: fix my mistake
applets: make Bernhard Fischer <rep.nop@aon.at> happy :)
2006-11-10 23:25:53 +00:00
Denis Vlasenko
07159f0f0e
add && !defined(__UCLIBC__) to static link warning check
2006-11-09 00:00:12 +00:00
Denis Vlasenko
8528151658
small ipv6 doc changes; nslookup a tiny bit smaller
2006-11-07 19:05:43 +00:00
Denis Vlasenko
6476cc1089
getty: remove ancient termio support (was using termois anyway)
2006-11-07 01:52:10 +00:00
Denis Vlasenko
9f60929cc4
httpd: sendCgi() forked child needs to close opened
...
server socket and accepted socket
2006-11-05 19:47:33 +00:00
Denis Vlasenko
5af906e7c8
rename: compare_string_array -> index_in_str_array
...
introduce index_in_substr_array and use it in
iproute2
2006-11-05 18:05:09 +00:00
Denis Vlasenko
402151671b
ps: add documentation on POSIX ps
2006-11-05 00:47:38 +00:00
Denis Vlasenko
77a1a53a98
usage.h: stop using ancient USAGE_xxx (we have USE_xx now)
2006-11-05 00:46:35 +00:00
Denis Vlasenko
9494919ea5
ps: implement POSIX-like options, most notably -o
...
(activated by CONFIG_DESKTOP)
2006-11-05 00:45:47 +00:00
Denis Vlasenko
aae0311356
smart_ulltoa5: make available in libbb
2006-11-05 00:44:39 +00:00
Denis Vlasenko
459e4d6cf7
replace /proc scanning code by more versatile one.
...
Use it where appropriate.
Stop scanning /etc/passwd *for every process*!!! (uid->username)
top: reduce memory usage - we won't save unneeded fields
from /proc info anymore. Downside: ~+250 bytes of code
2006-11-05 00:43:51 +00:00
Denis Vlasenko
fa07680091
top: improve CPU% calculation
...
style fixes
2006-11-05 00:38:51 +00:00
Denis Vlasenko
9d4533ede1
Fix kbuild bugs noticed by Bernhard Fischer <rep.nop@aon.at>
2006-11-02 22:09:37 +00:00
Denis Vlasenko
dd539f7687
Unneeded code removed, usused field "unsigned pscpu" removed
2006-11-01 20:20:37 +00:00
Denis Vlasenko
9225854144
mostly style fixes
2006-11-01 10:25:35 +00:00
Denis Vlasenko
048c93cc55
pidof: reduce #ifdef forest
2006-11-01 09:17:47 +00:00
Denis Vlasenko
35fb512728
PID should be stored in pid_t, not int or long.
...
find_pid_by_name() was returning 0 or -1 in last array element,
but -1 was never checked. We can use just 0 intead.
2006-11-01 09:16:49 +00:00
Denis Vlasenko
d3ada32285
ps: reduce #ifdef forest
2006-11-01 09:14:52 +00:00
Denis Vlasenko
966ec7c067
#if CONFIG_xxx -> #if ENABLE_xxx
2006-11-01 09:13:26 +00:00
Denis Vlasenko
31c65f2456
find: -type T was actually meaning ! -type T!
...
With this fix, "make mrproper" works correctly
2006-10-31 23:39:37 +00:00
Denis Vlasenko
14aa9f7415
build system: Makefiles are in source dir, add $(srctree)
2006-10-31 23:03:09 +00:00
Denis Vlasenko
b141b9b512
reads: fix bug 1078
2006-10-31 22:46:08 +00:00
Denis Vlasenko
4126b1f5c6
add usefun info on SIGINT handling peculiarities
2006-10-31 18:41:29 +00:00
Denis Vlasenko
8c76487f06
login: add big fat comment about SIGINT - prevent
...
adding/deleting that code again and again
2006-10-31 18:30:56 +00:00
Denis Vlasenko
6ae8079e2d
login: re-enable Ctrl-^C before execing shell.
2006-10-31 17:34:44 +00:00
Denis Vlasenko
3b8ff68ec8
dd: fix bugs: always assumed conv=sync, died on write errors
...
w/o perror and statictics. Several small improvements
2006-10-31 15:55:56 +00:00
Denis Vlasenko
5f18e7ca33
find: implement -prune. "make clean" now works! :)
2006-10-31 03:21:02 +00:00
Denis Vlasenko
a3b4fed8b3
find: fix implicit -print (sometime differed from standard)
2006-10-31 03:20:13 +00:00
Denis Vlasenko
6191a7a007
find: implement ( )
2006-10-30 02:10:47 +00:00