Commit Graph

  • 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
  • 9ddc0045ec modprobe: semi-trivial code shrink Denis Vlasenko 2008-08-06 00:51:43 +00:00
  • 2afd5ab62c *: use get_console_fd() as appropriate, and make it fail on open error - get_console_fd_or_die(). Denis Vlasenko 2008-08-05 23:32:27 +00:00
  • e0143a1aad kbd_mode: remove erroneous & from &var. By Vladimir. Denis Vlasenko 2008-08-05 23:01:01 +00:00
  • db29f5e73e libbb: fix thinko in latest xrealloc_vector change Denis Vlasenko 2008-08-05 21:12:00 +00:00
  • e6ce824edd - reinstate commented out _FORTIFY_SOURCE that was somehow dropped by Denys? Bernhard Reutner-Fischer 2008-08-05 19:06:35 +00:00
  • ec73d30322 randomconfig fixes Denis Vlasenko 2008-08-05 17:43:29 +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
  • 9b44613202 - don't free user-supplied string (via -e) - fix helptext Bernhard Reutner-Fischer 2008-08-05 09:56:56 +00:00
  • 35d8c47987 whitespace fixes, no code changed Denis Vlasenko 2008-08-05 07:59:25 +00:00
  • 82ad032e26 xargs: fix -e default to match newer GNU xargs, add SUS mandated -E. closes bug 4414 Denis Vlasenko 2008-08-04 21:30:55 +00:00
  • 855ff6f503 modprobe: use buffering line reads (fgets) instead of reads(). libbb: remove reads() Denis Vlasenko 2008-08-04 21:16:46 +00:00
  • 5db861a9eb fix some testsuite false positives Denis Vlasenko 2008-08-04 14:40:58 +00:00
  • 27842288b3 libbb: make xrealloc_vector zero out the realloc'ed tail Denis Vlasenko 2008-08-04 13:20:36 +00:00
  • 2b576b8e76 hush: fix mishandling of a'b'c=fff as assignments. They are not. Denis Vlasenko 2008-08-04 00:46:07 +00:00
  • c8bec9a085 hush: remove a comment about already fixed bug Denis Vlasenko 2008-08-03 22:27:50 +00:00
  • b2dc913527 makedevs: shrink by Vladimir Denis Vlasenko 2008-08-03 22:14:02 +00:00
  • 7ce47e698e ssd: fix -K/-S mixup in help text Denis Vlasenko 2008-08-03 19:23:30 +00:00
  • c45b53940a xargs: update help text Denis Vlasenko 2008-08-03 19:20:25 +00:00
  • cc08ad26fe xargs: fix xargs -e; added test for that Denis Vlasenko 2008-08-03 19:12:25 +00:00
  • 1e28f6171f halt: signal init regardless of ENABLE_INIT Denis Vlasenko 2008-08-03 18:43:45 +00:00
  • cfe2936a73 nameif: shrink (by Vladimir) Denis Vlasenko 2008-08-01 02:32:23 +00:00
  • 9ef1a5ddc1 makedevs: fix help text discrepancies Denis Vlasenko 2008-08-01 02:15:51 +00:00
  • e1fa817995 makedevs: shrink (by Vladimir); testsuite Denis Vlasenko 2008-08-01 02:15:05 +00:00
  • d498131168 hush: support $_NUMBERS variable names Denis Vlasenko 2008-07-31 10:34:48 +00:00
  • f173607520 hush: fix "case ... in <newline> word)..." Denis Vlasenko 2008-07-31 10:09:26 +00:00
  • fbeeb328b8 hush: support "pattern1|pattern2...)" in case statements Denis Vlasenko 2008-07-31 00:17:01 +00:00
  • 20be63fe71 tr: fix yet another access past the end of a string (bug 4374) Denis Vlasenko 2008-07-30 22:58:18 +00:00
  • b357149867 chpst: large code shrink by Vladimir Denis Vlasenko 2008-07-30 21:23:26 +00:00
  • c90e1be01b ash: bash compat: "shift $BIGNUM" is equivalent to "shift 1" Denis Vlasenko 2008-07-30 15:35:05 +00:00
  • 4f504a9e57 hush: trivial code shrink Denis Vlasenko 2008-07-29 19:48:30 +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
  • ff29b4fc42 randomconfig fix Denis Vlasenko 2008-07-29 13:57:59 +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
  • d91afa33fd randomconfig fixes Denis Vlasenko 2008-07-29 11:10:01 +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
  • 043d15da31 tr: fix "tr [=" case. Closes bug 4374. Denis Vlasenko 2008-07-28 23:49:42 +00:00
  • 918a34b9e0 hush: fix "while false; ..." exitcode; add testsuites Denis Vlasenko 2008-07-28 23:17:31 +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
  • bcb25537d0 hush: implement break and continue Denis Vlasenko 2008-07-28 23:04:34 +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
  • 38c89210d6 documentation fix Denis Vlasenko 2008-07-28 00:06:02 +00:00
  • be709c24d4 hush: finish and enable optional case...esac support. Code size cost: Denis Vlasenko 2008-07-28 00:01:16 +00:00
  • 8d523cbcd7 fbset: shrink code a bit more Denis Vlasenko 2008-07-27 21:16:30 +00:00
  • 09f5ecfa47 fbset: code shrink Denis Vlasenko 2008-07-27 20:25:29 +00:00
  • 2c7a1fd6d4 netstat: code shrink Denis Vlasenko 2008-07-27 17:24:19 +00:00
  • cf8b1ef845 style fix, no code changes Denis Vlasenko 2008-07-27 14:15:42 +00:00
  • 6e69e4237d netstat: optional -p support by L. Gabriel Somlo <somlo AT cmu.edu> Denis Vlasenko 2008-07-27 12:10:07 +00:00
  • 94d03f0da0 whitespace fix Denis Vlasenko 2008-07-26 23:16:33 +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
  • 8dbea7dbb1 ash: add slightly different testcase Denis Vlasenko 2008-07-26 14:20:04 +00:00
  • 160e6fa53a fix example of vcsa creation Denis Vlasenko 2008-07-26 14:02:24 +00:00
  • 5c13270359 ash: fix testcase to not sleep for whole 10 seconds, gets annoying pretty fast. Also fix wrong message there. Denis Vlasenko 2008-07-26 13:53:42 +00:00
  • 87d5fd984e ash: fix typo Denis Vlasenko 2008-07-26 13:48:35 +00:00
  • 4e19a9c81a ash: hopefully close bug 4324. With testcase. Denis Vlasenko 2008-07-26 13:45:57 +00:00
  • 2b2e267b43 ash: testsuite entries for last change Denis Vlasenko 2008-07-25 13:40:06 +00:00
  • 6a0ad25061 ash: dont allow e.g. exec <&10 to attach to stript's fd! Denis Vlasenko 2008-07-25 13:34:05 +00:00
  • 0f99d49ae6 *: conversion to config parser Denis Vlasenko 2008-07-24 23:38:04 +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
  • 2dc240c0d6 ash: code shrink Denis Vlasenko 2008-07-24 06:07:50 +00:00
  • 49a5eba9ae s/othervise/otherwise/g Denis Vlasenko 2008-07-23 08:41:08 +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
  • 68a192c007 fix trivial build warning Denis Vlasenko 2008-07-22 19:38:57 +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
  • 3e8669f359 - wrap overlong lines (Cristian Ionescu-Idbohrn) - s/\. /. /g;# (me) Bernhard Reutner-Fischer 2008-07-22 18:27:53 +00:00
  • 08d120e6e1 chown: do not use static data Denis Vlasenko 2008-07-22 11:37:23 +00:00