Bernhard Reutner-Fischer
ca5b35299e
- make read_stduu() and read_base64() void, small size tweaks
2007-01-20 21:29:32 +00:00
Bernhard Reutner-Fischer
d58c19479d
- small size tweak
2007-01-20 21:28:36 +00:00
Bernhard Reutner-Fischer
a8e2e1872a
- add C99 bool type for setups that support it.
2007-01-20 21:27:18 +00:00
Denis Vlasenko
312735878b
Announce 1.3.2 and 1.4.0 on busybox.net
2007-01-20 20:38:57 +00:00
Denis Vlasenko
12a3917e45
head is 1.5.0.svn now
2007-01-20 20:02:29 +00:00
Denis Vlasenko
8942c12782
releasing busybox 1.4.0
2007-01-20 19:57:57 +00:00
Denis Vlasenko
316355524f
fixing bugs revealed by randomconfig runs
2007-01-20 16:54:19 +00:00
Denis Vlasenko
91f20ab510
fixes for amd64 compilation
2007-01-20 01:47:44 +00:00
Denis Vlasenko
e055443412
ls: stop doing time() for each file in "ls -l"
...
ls: use fully-buffered stdout (can it be problematic
on VERY slow/hanging NFS mounts?)
2007-01-19 22:03:06 +00:00
Denis Vlasenko
4ebaf10742
strdup -> xstrdup
...
sed: de-obfuscate piece of code
2007-01-19 21:33:19 +00:00
Denis Vlasenko
2405ad659e
ls: use get_cached_username/groupname
2007-01-19 21:24:17 +00:00
Denis Vlasenko
9af7c9d6b6
openvt,getty,vfork_daemon_rexec,mount: tighten up fd cleanup code
...
(will close all fd's > 2 on daemonization now)
getty: fix "getty -" support, and also do not try to chown/chmod "-"
telnetd: fix "lost ctty" bug
Yet another attempt on saner function names:
bb_sanitize_server_stdio(0/1) -> bb_sanitize_stdio() + bb_daemonize();
2007-01-19 21:19:35 +00:00
Denis Vlasenko
f8c11aa65d
fsck: dead code removal; also disable progress indicator code
...
(doesn't look good to me)
2007-01-19 02:04:09 +00:00
Denis Vlasenko
e18a293a52
fsck: stop using strtok
2007-01-19 02:03:14 +00:00
Denis Vlasenko
1abf91aa25
fsck: move functions around so that related ones are nearby
...
no actual code changes
2007-01-19 02:02:33 +00:00
Denis Vlasenko
a0e701d137
fsck: small optimization
2007-01-19 02:01:19 +00:00
Denis Vlasenko
74c9d2365a
fix potentially misaligned 32-bit accesses
2007-01-18 15:42:00 +00:00
Bernhard Reutner-Fischer
c966ba46a9
- move the smallint that is platform dependant to it's proper place
2007-01-18 10:32:09 +00:00
Peter Kjellerstedt
f8384fa50c
Use char for smallint on CRIS as well.
2007-01-18 10:26:07 +00:00
Bernhard Reutner-Fischer
1a250d9f32
- reinstate paranoia check in wrapf().
2007-01-18 08:41:22 +00:00
Denis Vlasenko
7f0d7ae4f5
fix subtle bug inherited from dash
2007-01-18 01:12:57 +00:00
Denis Vlasenko
41aaefce71
stop using global variable needlessly
2007-01-18 00:53:35 +00:00
Denis Vlasenko
cbbc043d1b
smallint can be a char for amd64 too
2007-01-18 00:16:06 +00:00
Denis Vlasenko
ef44d9d9f2
sed,get_line_from_file: improve comments
2007-01-17 23:16:16 +00:00
Bernhard Reutner-Fischer
ae114c235e
- stty's visible() function and catv's guts are identical. Merge them into
...
an appropriate libbb function.
2007-01-17 19:51:00 +00:00
Bernhard Reutner-Fischer
79cc55975f
- remove superfluous define that expanded to "!strcmp"
...
- remove some dead code
2007-01-17 19:46:46 +00:00
Bernhard Reutner-Fischer
8eb0549e5d
- reuse return code of vsnprintf to avoid pulling in strlen
2007-01-17 19:46:33 +00:00
Bernhard Reutner-Fischer
94feb1c807
- merge display_changed() and display_all()
...
This one is a bit risky but did work for me in cursory testing..
2007-01-17 19:46:12 +00:00
Bernhard Reutner-Fischer
d4a745c3d4
- peruse get_terminal_width_height and remove legacy code for ancient
...
slowaris versions.
2007-01-17 19:45:36 +00:00
Bernhard Reutner-Fischer
a6e31ad834
- rewrite find_param to use index_in_str_array
2007-01-17 19:45:14 +00:00
Bernhard Reutner-Fischer
4950f010f3
- manually inline tty_value_to_baud and remove string_to_baud_or_die
...
(cleanup)
2007-01-17 19:44:59 +00:00
Bernhard Reutner-Fischer
21fc740023
- constify some read-only members and remove superfluous casts
...
(cleanup)
2007-01-17 19:44:24 +00:00
Bernhard Reutner-Fischer
4fa566d4ad
- reuse option_mask32 for state-handling in main
...
- improve check for errors from fcntl
2007-01-17 19:42:30 +00:00
Bernhard Reutner-Fischer
9e8df9354a
- replace some occurances of "kernel" with busybox
2007-01-17 19:36:01 +00:00
Denis Vlasenko
b64eed6030
httpd: use fd#1 in inetd mode
...
inetd: micro style fix
2007-01-14 17:06:11 +00:00
Denis Vlasenko
d1a6e8d320
inetd: preparatory patch, no code changes
2007-01-14 14:46:18 +00:00
Denis Vlasenko
d97c9244b1
Rename bb_sanitize_stdio -> bb_sanitize_server_stdio
...
(name is still bad - it doesn't hint that function
may do daemonization trick for you if asked to).
Small fixes to fakeidentd.
2007-01-14 13:12:06 +00:00
Denis Vlasenko
b8b81a6f8f
small size optimization
2007-01-14 12:47:27 +00:00
Denis Vlasenko
844ff096ec
isrv.h: add copyright info
2007-01-14 12:34:48 +00:00
Denis Vlasenko
fdf7aec532
I forgot "svn add" AGAIN! :(
2007-01-14 12:32:30 +00:00
Denis Vlasenko
c14c95ec89
fakeidentd: avoid extra fcntl calls
2007-01-14 12:31:26 +00:00
Denis Vlasenko
19250813a8
fakeidentd: fix daemon mode (was thinking that it is in
...
inetd-wait mode and dying after timeout). Minor fixes,
comments are improved in places.
2007-01-14 12:07:25 +00:00
Denis Vlasenko
ffcef2d1f7
inetd: open log after daemonization
2007-01-14 02:03:28 +00:00
Denis Vlasenko
7a431b3715
By popular request reinstate fakeidentd's standalone mode.
...
Since this is also needed for other applets like telnetd,
introduce generic driver for such things.
It even supports inetd-wait ('linger') mode, when inetd
hands out listen socket to child and waits to it to die,
instead of handing out accepted socket and continuing
listening itself (nowait mode).
Code growth ~200 bytes.
NB: our inetd doesn't support wait mode yet (or mabe it is buggy).
2007-01-14 01:29:06 +00:00
Denis Vlasenko
150f402b36
whitespace fixes (leading spaces to tab)
2007-01-13 21:06:21 +00:00
Denis Vlasenko
2418288cac
small fixes to ipv6 infrastructure
2007-01-13 21:05:38 +00:00
Denis Vlasenko
3a34d0c08a
random small size optimizations
2007-01-12 22:10:34 +00:00
Denis Vlasenko
21b080daa8
stty: fix bug reported by Paul Albrecht <albrecht@rdi1.com> -
...
stty -echo didn't work. Introduced by me :(
2007-01-12 21:03:07 +00:00
Denis Vlasenko
f8abc100cc
stty: rearrange functions, avoiding the need in forward declarations.
...
No other code chages.
2007-01-12 21:02:04 +00:00
Denis Vlasenko
4df8135cf6
undo RESERVE_CONFIG_BUFFER change. aldot, small on-stack char[N] objects
...
are perfectly okay, don't convert them to RESERVE_CONFIG_BUFFERs.
2007-01-12 21:01:05 +00:00