cd785fb716
nmeter: fix read past the end if a buffer. Closes 4594
Denis Vlasenko
2008-08-14 21:57:43 +00:00
ee777c4e5f
ifupdown: fixes for custom MAC address, by Wade Berrier <wberrier AT gmail.com>
Denis Vlasenko
2008-08-12 01:35:34 +00:00
8d07560eef
sendmail: work around (bogus) gcc warning
Denis Vlasenko
2008-08-10 20:46:39 +00:00
63e49fa56f
fix byte-swapping of compressed help on big-endian machines
Denis Vlasenko
2008-08-09 20:31:57 +00:00
69f4f9a6f4
optimize config_read() (by Timo Teras <timo.teras AT iki.fi>)
Denis Vlasenko
2008-08-09 17:16:40 +00:00
3fd15e197e
grep: option to use GNU regex matching instead of POSIX one. This fixes problems with NULs in files being scanned, but costs +800 bytes. The same can be done to sed (TODO).
Denis Vlasenko
2008-08-09 16:15:14 +00:00
fb5902ca5c
- support relatime / norelatime
Bernhard Reutner-Fischer
2008-08-06 18:14:38 +00:00
1dbc643dd3
- fix typo
Bernhard Reutner-Fischer
2008-08-06 17:39:30 +00:00
8e80411151
modprobe-small: fix infinite looping, by Timo Teras
Denis Vlasenko
2008-08-06 09:41:09 +00:00
728161b556
fix bug 4464 for real. I am dumb.
Denis Vlasenko
2008-08-06 08:44:09 +00:00
0e7f28d674
man: teach it to use .lzma if requested by .config man: fix a case when a full pathname to manpage is given
Denis Vlasenko
2008-08-05 15:28:05 +00:00
e2a09de415
man: yet another fixlet to "manpage link" code
Denis Vlasenko
2008-08-05 14:15:19 +00:00
22b0bd85fd
man: fixlet for man links
Denis Vlasenko
2008-08-05 13:45:22 +00:00
540baf646a
man: add handling of "man links", by Ivana Varekova <varekova AT redhat.com>
Denis Vlasenko
2008-08-05 13:16:18 +00:00
e9ad84dfd4
*: refactor handling of archived files. "tar f file.tar.lzma" now works too.
Denis Vlasenko
2008-08-05 13:10:34 +00:00
87a8655f46
hush: use G.xxx instead of #define xxx G.xxx. We have too many globals there and #defines get messy. Remove one write-only G.variable.
Denis Vlasenko
2008-07-29 19:43:10 +00:00
4554b721ad
hush: small fix for repeated continue and fix for wrong loop depth count after Ctrl-C; with testcase for first one
Denis Vlasenko
2008-07-29 13:36:09 +00:00
45cb9f9581
hush: fix inverted check (was making all break's to act as "break 99999")
Denis Vlasenko
2008-07-29 11:47:46 +00:00
fcf37c3183
hush: fix break'ing out of {} and () groups; with testcase
Denis Vlasenko
2008-07-29 11:37:15 +00:00
dadfb4975b
hush: add #defines to switch off break/continue if loops are not supported *: remove a few inline keywords no code changes
Denis Vlasenko
2008-07-29 10:16:05 +00:00
e1ee48e0fd
modprobe: support for /etc/modprobe.d, by Timo Teras.
Denis Vlasenko
2008-07-29 00:19:44 +00:00
2f86d13dff
libbb: dump: do not use uninitialized memory. close bug 4364.
Denis Vlasenko
2008-07-29 00:00:14 +00:00
6a2d40f239
hush: support "break N" and "continue N" fix non-detection of builtins and applets in "v=break; ...; $v; ..." case add testsuite entries for the above
Denis Vlasenko
2008-07-28 23:07:06 +00:00
cf22c89f9a
hush: in run_list(), some loop_top ops seems to be superfluous. comment them out. Also, use separate temp variable for verification loop, helps gcc to optimize better.
Denis Vlasenko
2008-07-28 15:17:44 +00:00
12acec5ad4
hush: in run_list(), last_cond_code seems to be superfluous. comment it out
Denis Vlasenko
2008-07-28 15:15:59 +00:00
5e052cab17
hush: explain run_list() in detail; small optimizations
Denis Vlasenko
2008-07-28 15:15:09 +00:00
c24033eebe
man: a forgotten chunk of lask commit (config file parser fixes)
Denis Vlasenko
2008-07-26 23:14:23 +00:00
084266ed52
fix several problems with config parser: a bug where it underflows the string a bug where it never frees parser_t struct make read_config() return 0 if parser is NULL, make config_close() accept and ignore NULL parser - eliminates many if() blocks reverse the sense of parser bit flags - negative flags are harder to grok. hexdump: revert the change to use config parser, it is BIGGER and also requires additional quirks in parser *: explicitly use PARSER_NORMAL instead of 0
Denis Vlasenko
2008-07-26 23:08:31 +00:00
8895c2073e
man: ignore (not complain) lines with less than 2 tokens in config file
Denis Vlasenko
2008-07-26 19:44:53 +00:00
5e40070d38
tr: fix "access past the end of a string" bug 4354
Denis Vlasenko
2008-07-26 19:34:00 +00:00
df96df9c7c
mdev: do not complain if mdev.conf does not exist; use #if to prevent gcc from generating dead code (sadly, it's more ugly this way)
Denis Vlasenko
2008-07-26 18:35:10 +00:00
48a9971bd4
unzip: move check for unsupported zip features to better place
Denis Vlasenko
2008-07-26 17:32:41 +00:00
c2dcb7cf63
unzip: give better error message when presented with unsupported zip file. Add zip documentation and an example of file we cant (yet) unpack.
Denis Vlasenko
2008-07-26 16:50:24 +00:00
22f7414843
ash: prevent exec NN>&- from closing fd used for script reading
Denis Vlasenko
2008-07-24 22:34:43 +00:00
5a867317bb
ash: fix a bug where redirection fds were not closed afterwards. optimize close+fcntl(DUPFD) into dup2. add testsuites.
Denis Vlasenko
2008-07-24 19:46:38 +00:00
6fbb43bc3c
ash: teach ash about 123>file. It could take only 0..9 before
Denis Vlasenko
2008-07-24 19:44:41 +00:00
6514c5e35c
ash: ducument where "no fds > 9 in redirects" limitation is. no code changes.
Denis Vlasenko
2008-07-24 13:41:37 +00:00
8d924ecf38
ash: ditch dupredirect(), it was only making code harder to read. incorporate it in its single callsite.
Denis Vlasenko
2008-07-24 11:34:27 +00:00
0b76964ae1
ash: explain redirect code a bit
Denis Vlasenko
2008-07-24 07:54:57 +00:00
040e32f84c
lpd: extend help text
Denis Vlasenko
2008-07-23 08:39:19 +00:00
f54e62a3f2
inetd: do not trash errno in signal handlers; in CHLD handler, stop looping through services when pid is found
Denis Vlasenko
2008-07-22 20:57:28 +00:00
41660c5b2d
another overlapping_strcpy
Denis Vlasenko
2008-07-22 20:25:24 +00:00
0f293b96dc
fix all cases of strcpy on overlapping strings.
Denis Vlasenko
2008-07-22 20:16:55 +00:00
c445758708
lpd,lpr: send/receive ACKs after filenames, not only after file bodies.
Denis Vlasenko
2008-07-22 19:15:30 +00:00
e99a92dc2f
- strip implied proto and superfluous "www." domain part. If my lynx groks it, your browser will too ;)
Bernhard Reutner-Fischer
2008-07-22 18:32:06 +00:00