1
0
mirror of synced 2026-11-02 21:34:33 +03:00

Commit Graph

  • 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
  • 9e3a540b1b cut: stop using static data. This alone removed ~70 bytes of code. + some optimizations Denis Vlasenko 2008-07-22 10:34:46 +00:00
  • a5254032f5 cal: remove lone static data variable. -4 bytes. coreutils is down to four applets with nonzero data+bss. Denis Vlasenko 2008-07-22 10:10:13 +00:00
  • b62bd7b261 - unused variables if !ENABLE_FEATURE_MDEV_RENAME_REGEXP Bernhard Reutner-Fischer 2008-07-22 07:33:53 +00:00
  • 5415c856ea libbb: [x]fopen_for_{read,write} introduced and used. (by Valdimir) Denis Vlasenko 2008-07-21 23:05:26 +00:00
  • b74a2dba57 whitespace fixes, no code changed Denis Vlasenko 2008-07-21 21:34:51 +00:00
  • 1d4cd606a1 - commentary typo fix Bernhard Reutner-Fischer 2008-07-21 15:29:36 +00:00
  • d73cbd31a2 - first pass to unify/cleanup uid handling (-236b) This needs further love, alot of love.. Tito? Bernhard Reutner-Fischer 2008-07-21 14:41:33 +00:00
  • a53de7f7c2 - fix spelling Bernhard Reutner-Fischer 2008-07-21 13:46:54 +00:00
  • e1e5174942 - s/super.block/superblock/g; # for consistency; -1b Bernhard Reutner-Fischer 2008-07-21 13:33:22 +00:00
  • 5259361957 - remove superfluous forward declaration Bernhard Reutner-Fischer 2008-07-21 11:53:04 +00:00
  • ef9876a40e - document -f Bernhard Reutner-Fischer 2008-07-21 11:30:51 +00:00
  • 0328b40aee - commentary typo fix Bernhard Reutner-Fischer 2008-07-21 11:18:02 +00:00
  • ad2fa65fc0 - no obj-code changes. Fix indentation, use existing defines. Bernhard Reutner-Fischer 2008-07-21 11:16:39 +00:00
  • 1101d1c980 telnet: shrink telnetd: shrink, and fix issue file printing test: better and shorter usage text Denis Vlasenko 2008-07-21 09:22:28 +00:00
  • 84c8daa11f help text: test --help doesnt print it (by design), so do not account for it Denis Vlasenko 2008-07-21 08:37:13 +00:00
  • 395410b748 httpd: add Hopedir directive specially for (and by) walter harms <wharms AT bfs.de>; fix silly double-parse bug added in 21412. Denis Vlasenko 2008-07-20 23:25:32 +00:00
  • 7ae1cc16b4 msh: fix "while...continue" bug 3884. Denis Vlasenko 2008-07-20 23:03:23 +00:00
  • 2b68c8f744 build system: clean more files on make clean/make mrproper Denis Vlasenko 2008-07-20 18:37:54 +00:00
  • eb7512984a udhcp: use libbb for config file parsing (by Vladimir) Denis Vlasenko 2008-07-20 17:58:12 +00:00
  • 9b366f4136 libbb/parse_config.c: fix small buglet (by Vladimir) Denis Vlasenko 2008-07-20 17:50:58 +00:00
  • a34f1ed737 dnsd,sestatus: use libbb to parse config file (by Vladimir) Denis Vlasenko 2008-07-20 17:48:59 +00:00
  • 1e8034e614 man: fix breakage: must not die on lines with < 2 tokens Denis Vlasenko 2008-07-20 17:43:21 +00:00
  • 09aaf78ad5 mn: use libbb for config parsing (by Vladimir) Denis Vlasenko 2008-07-20 17:41:30 +00:00
  • adc772a5f2 tar: fix handling of tarballs with symlinks with size field != 0 Denis Vlasenko 2008-07-20 17:10:43 +00:00
  • b9bbc40f64 libbb: fix print_flags() [fix somehow is only in 1.11.1?) Denis Vlasenko 2008-07-20 13:47:51 +00:00
  • 4a717e0c19 libbb: fixes to config_read() by maintainer sysctl: use config_read() Denis Vlasenko 2008-07-20 13:01:56 +00:00
  • dcb3fcb042 libbb: config_read() update Denis Vlasenko 2008-07-19 22:57:00 +00:00
  • c29684afd6 mount: support nfs mount option nordiplus. By Octavian Purdila <opurdila AT ixiacom.com> Denis Vlasenko 2008-07-19 22:40:30 +00:00
  • 2e157ddf9e libbb: updated config_parse() from Vladimir Denis Vlasenko 2008-07-19 09:27:19 +00:00
  • bd28f6bf7f test: fix parser to prefer binop over unop, as coreutils does. remove bogus workaround in main(). rename atrocious variables/functions. much expand testsuite. libbb: fix --help to not affect "test --help" Denis Vlasenko 2008-07-19 08:15:13 +00:00
  • 5f116629d8 printf: do not print garbage on "%Ld". closes bug 4214. Denis Vlasenko 2008-07-18 18:41:55 +00:00
  • f19817ddc2 libbb: fix bb_strtol[l]'s check for "-". Hopefully closes bug 4174 Denis Vlasenko 2008-07-18 18:17:10 +00:00
  • a48656b441 printf: fix %b, fix several bugs in %*.*, fix compat issues with aborting too early, support %zd; expand testsuite Denis Vlasenko 2008-07-18 11:10:51 +00:00
  • 1a715e487d - fix compilation for mips (Brian Daniels) Bernhard Reutner-Fischer 2008-07-18 07:42:00 +00:00
  • 7b54dc788c vi: using array data after it fell out of scope is stupid. Denis Vlasenko 2008-07-17 21:32:32 +00:00
  • 7354244c4a sendmail: update from the maintainer Denis Vlasenko 2008-07-17 19:37:09 +00:00
  • 3b3ca113ed pidof/killall: allow find_pid_by_name to find running processes started as scripts_with_name_longer_than_15_bytes.sh closes bug 4054 (and is generally neat) Denis Vlasenko 2008-07-17 18:39:36 +00:00