5a4f0994b0
less: fix regexp search '/' on large files
Denis Vlasenko
2006-12-25 01:23:02 +00:00
7a50a64986
more usage message cleanups
Denis Vlasenko
2006-12-24 17:40:16 +00:00
765996aaea
Cleanup usage messages (-200 bytes). Remove busybox_main from applet table since it is called via separate check
Denis Vlasenko
2006-12-24 16:59:27 +00:00
0ee3999d13
random tiny size savings
Denis Vlasenko
2006-12-24 15:23:28 +00:00
7cea262273
small stupid changes. no code changes
Denis Vlasenko
2006-12-24 07:30:09 +00:00
f4dff77355
less: implement waiting for input using select(). Rather tricky business. But we do not read entire input anymore up-front.
Denis Vlasenko
2006-12-24 07:14:17 +00:00
1d14e6f48c
Always use /usr/share/udhcpc/default.script ([/usr] was depending on CONFIG_xx)
Denis Vlasenko
2006-12-22 11:47:19 +00:00
afc9ff99fd
removal of commented-out cruft
Denis Vlasenko
2006-12-22 00:45:27 +00:00
714701c890
tar et al: die if bb_copyfd_size copies less than asked for. (we have bb_copyfd_exact_size now for that kind of usage)
Denis Vlasenko
2006-12-22 00:21:07 +00:00
0a8a774179
cmdedit: reformat code a bit, no algorithm changes
Denis Vlasenko
2006-12-21 22:27:10 +00:00
d56b47f9a6
fix type character mixup in command completion
Denis Vlasenko
2006-12-21 22:24:46 +00:00
f1282a8792
less: a few fixes for cases where we overflow status line
Denis Vlasenko
2006-12-21 17:03:20 +00:00
f65d1338dc
less: restore TAB display (was showing as inverse I after prev changes :)
Denis Vlasenko
2006-12-21 15:23:45 +00:00
d51d14e36f
less: "(null)" is a bit strange. "standard input" is better :)
Denis Vlasenko
2006-12-21 13:57:37 +00:00
e147a72173
less: how many different kinds of status line we need, three?! small fixes. [prev commit also added control char filtering on input (e.g. regexp input, filename input for 'E' etc)]
Denis Vlasenko
2006-12-21 13:26:54 +00:00
e865e81d34
less: stop dying on bad regexps, quietly pipe data w/o user interaction if stdout is not a tty. size optimizations
Denis Vlasenko
2006-12-21 13:24:58 +00:00
3f3190e34c
less: total cleanup and bugfix. Doesn't die horribly on binary files anymore. In fact, they _100%_ work now. Control chars are in reverse video, including DEL and that idiocy of VT-10x, Meta-ESC [inventor of which should be prohibited from reproducing]. Regex search is fixed also. When you specify search ('/' key), control chars turn into dots (unhighlighted), and found occurrences highlighted instead. This is reversible. Memory management fixed (was leaky as hell) and optimized. Linewrapping fixed and thoroughly tested. Max buffer size made configurable. ~ 600 bytes saved.
Denis Vlasenko
2006-12-21 00:22:03 +00:00
9a7cef930f
less: somewhat buggy applet, but nice. Muchly reduced xstrdup'ing and memory consumption. Made linewrap saner. regex matching code was awful - still buggy, but not as leaky as before. Made buffer size configurable. Killed several static and on-stack buffers. Hopefully eliminated staircase effect on Ctrl-C (unable to reproduce).
Denis Vlasenko
2006-12-20 02:46:48 +00:00
b95636c52f
remove casts from xmalloc()
Denis Vlasenko
2006-12-19 23:36:04 +00:00
2375d75f32
ifupdown: do not print and/or execute empty commands ("").
Denis Vlasenko
2006-12-19 23:15:46 +00:00
8cd1a288fa
ifupdown: parse() returning NULL and returning "" is not the same, it turned out! wow... okay, fixing my buglet...
Denis Vlasenko
2006-12-19 23:01:33 +00:00
28703015ab
u_short, ulong exterminated fdiskXXX: add a bit of sanity (not enough by far)
Denis Vlasenko
2006-12-19 20:32:02 +00:00
f58906b646
cmdedit: fix my bug, improve code a bit
Denis Vlasenko
2006-12-19 19:30:37 +00:00
28fbd69bf8
- use xlisten/xsocket some more. Saves .25 kB
Bernhard Reutner-Fischer
2006-12-19 16:31:09 +00:00
359d7ca0e7
- rename SU_SYSLOG to FEATURE_SU_SYSLOG
Bernhard Reutner-Fischer
2006-12-19 08:55:38 +00:00
7f1dc21a5d
cmdedit: use qsort for sorting command completion results; style fixes
Denis Vlasenko
2006-12-19 01:10:25 +00:00
8eb3b391ad
passwd: add option to check passwords for weakness
Denis Vlasenko
2006-12-19 00:33:53 +00:00
249fabf1a3
Add option to disable command execution from vi & awk
Denis Vlasenko
2006-12-19 00:29:22 +00:00
15b213ef5a
su: make /etc/shells check configurable ash: missing ';'
Denis Vlasenko
2006-12-19 00:20:20 +00:00
db50647d1f
httpd: we don't have FEATURE_HTTPD_WITHOUT_INETD anymore, remove it from Config.in
Denis Vlasenko
2006-12-17 20:18:05 +00:00
b8c77b5b25
start_stop_daemon: make code a bit more readable
Denis Vlasenko
2006-12-17 19:43:10 +00:00
0f5905e617
od: remove bug-for-bug compat (because the bug was fixed in coreuitls)
Denis Vlasenko
2006-12-17 19:21:13 +00:00
c88894602d
tar: report error if child dies while writing out the end of tarball (e.g. out of disk space).
Denis Vlasenko
2006-12-17 19:08:20 +00:00
b131b271a0
start_stop_daemon: fix bug where any program name was "matching" processes for which readlink(/proc/N/exe) fails
Denis Vlasenko
2006-12-17 17:30:01 +00:00
7cdc54ff59
fix/shorten some usage strings
Denis Vlasenko
2006-12-17 17:27:56 +00:00
a883fa4cee
exterminate last bzero's version bump to 1.3.0
Denis Vlasenko
2006-12-13 23:52:32 +00:00
9729e65706
- honor CONFIG_DEBUG
Bernhard Reutner-Fischer
2006-12-13 17:44:24 +00:00
5b6f776fe9
- remove warning about unused depth parameter in add_to_dirlist() - make one variable static and add comment about why the other variables there are not static.
Bernhard Reutner-Fischer
2006-12-13 16:50:15 +00:00
b15b7f7a4a
more: fix for case when _FILE_OFFSET_BITS is not #defined. samll size improvement.
Denis Vlasenko
2006-12-10 01:57:29 +00:00
57d83ff5f9
- Proposed fix to make aliases work (with uClibc-current). See comment in the patch about the change introduced in r16342.
Bernhard Reutner-Fischer
2006-12-07 12:25:17 +00:00
1819eee436
- Improve wording in error message.
Bernhard Reutner-Fischer
2006-12-07 12:18:36 +00:00
95da177b09
- s/:\t\t/\t/ for two helptexts.
Bernhard Reutner-Fischer
2006-12-07 12:16:17 +00:00
b7c50c9896
- remove a warning that was not ment to be checked in.
Bernhard Reutner-Fischer
2006-12-06 23:14:31 +00:00
feea1b972c
- better distinction between CFLAGS and CPPFLAGS.
Bernhard Reutner-Fischer
2006-12-06 21:51:59 +00:00
bc95f57932
- adjust to kernel's build infrastructure.
Bernhard Reutner-Fischer
2006-12-06 15:29:00 +00:00
882e60c442
- shrink less. 01a: svn version 01b: merge past_eof and inp_stdin into flags. 01c: merge match_backwards into flags. 01d: add handling of <HOME> and <END> keys, remove set_tty_raw, use fflush_stdout_and_exit 01e: rewrite special-key handling to be smaller. 01f: changing the format saves 4 bytes (alot of places would benefit from this) text data bss dec hex filename 9034 8 648 9690 25da less.o.01a 9023 8 640 9671 25c7 less.o.01b 9027 8 636 9671 25c7 less.o.01c 9068 8 636 9712 25f0 less.o.01d 8990 8 636 9634 25a2 less.o.01e 8986 8 636 9630 259e less.o.01f
Bernhard Reutner-Fischer
2006-12-04 16:04:50 +00:00
bbda98f14c
- cosmetic change to avoid warnings about eventual padding/packing.
Bernhard Reutner-Fischer
2006-12-04 15:58:27 +00:00
bb59f02218
- make sure we pickup the correct defines. Guards against 2.6.19 kernel-headers.
Bernhard Reutner-Fischer
2006-12-04 15:57:17 +00:00
91d4a2dac3
- commentary typo
Bernhard Reutner-Fischer
2006-12-02 20:47:36 +00:00
1375bc7b67
sed: fix handling of files not ending in '\n'
Denis Vlasenko
2006-12-02 20:12:12 +00:00