Commit Graph

  • dc4178050a fix #>&- syntax for closing fds Mike Frysinger 2009-04-06 12:35:41 +00:00
  • 9052600feb fix redir1 tests -- usleep isnt standard in $PATH Mike Frysinger 2009-04-06 12:34:27 +00:00
  • 5e883fb00d hush: micro-optimization. -37 bytes Denis Vlasenko 2009-04-06 12:28:34 +00:00
  • b1d11bf45e hush: more efficient filtering of "safe" arithmetic Denis Vlasenko 2009-04-06 12:24:58 +00:00
  • d0b4a8c285 hush: add <> and () as "safe" arith chars Denis Vlasenko 2009-04-06 12:09:55 +00:00
  • bfbc971f9f hush: print cd error to stderr; use fopen_or_warn in builtin_source; prepare builtin_unset for function support libbb: do not clear errno in fopen_or_warn Denis Vlasenko 2009-04-06 12:04:42 +00:00
  • b0a6478eef hush: fix "export a=a b=b" (was not setting and exporting b) Denis Vlasenko 2009-04-06 11:33:07 +00:00
  • c8d27334a0 hush: update TODO list; + my usual pointless tweaks :( Denis Vlasenko 2009-04-06 10:47:21 +00:00
  • d3f973eab2 hush: mark SIGHUP TODOs better; don't disable SIGHUP for now, small tweaks to comments Denis Vlasenko 2009-04-06 10:21:42 +00:00
  • a0e65120b5 hush: cosmetics, no code changes Denis Vlasenko 2009-04-05 23:39:14 +00:00
  • f4393046ef modprobe/insmod for 2.4: support compressed modules. by Guenter (lists AT gknw.net) Denis Vlasenko 2009-04-05 23:25:09 +00:00
  • 913a201bf0 hush: strip NULs from file input, they are PITA/impossible to handle correctly Denis Vlasenko 2009-04-05 22:17:04 +00:00
  • 258275d85f drop HUSH_VER_STR since it has no relevance anymore -- just use BB_VER Mike Frysinger 2009-04-05 21:19:43 +00:00
  • c4a7af55e9 hush: fix trap clearing in subshells on MMU; simplify NOMMU a bit: Denis Vlasenko 2009-04-05 20:33:27 +00:00
  • f937528571 hush: audit and fix "interactive shell" setup code. Denis Vlasenko 2009-04-05 19:13:39 +00:00
  • 46f9b6db80 hush: pass $! thru re-execution; try harder on re-exec; give error msg if re-exec didn't work; other tweaks in main() Denis Vlasenko 2009-04-05 10:39:03 +00:00
  • 232be3e79b hush: suppress bogus warning from 4.2.1 Denis Vlasenko 2009-04-05 09:16:00 +00:00
  • 18f2a79f9b build system tweaks to account for latest hush changes Denis Vlasenko 2009-04-05 09:02:11 +00:00
  • d85a5df159 hush: randomconfig fixes Denis Vlasenko 2009-04-05 08:43:57 +00:00
  • cc4c693ec5 hush: plug the leak on NOMMU re-execute path Denis Vlasenko 2009-04-05 07:38:48 +00:00
  • c3ff48b921 fixing mode on hush-leak/leak_argv1.tests Denis Vlasenko 2009-04-05 02:14:59 +00:00
  • 8a496d5db0 fixing mode on hush-leak/leak_argv1.tests Denis Vlasenko 2009-04-05 02:14:37 +00:00
  • 30db43b5c5 hush: fix passing of $n on NOMMU Denis Vlasenko 2009-04-05 02:10:39 +00:00
  • 16a0c74f63 hush: fix hush-misc/break5.tests NOMMU failure Denis Vlasenko 2009-04-05 01:46:59 +00:00
  • 0bb4a23506 hush: fix all testsuite failures on NOMMU except memory leak. known TODOs: we do not pass traps and positional args yet. Denis Vlasenko 2009-04-05 01:42:59 +00:00
  • 609f2ab434 hush: enable NOMMU re-execution logic. Some testsuite entries fail on NOMMU. Before it was much worse. No regressions on MMU, size: Denis Vlasenko 2009-04-04 23:15:14 +00:00
  • 9aa7d6fdc5 hush: preparatory patch for NOMMU-safe { list } handling. Denis Vlasenko 2009-04-04 22:47:50 +00:00
  • 42e78b978f ftpd: s/CONFIG_BUSYBOX_EXEC_PATH/bb_busybox_exec_path/ Denis Vlasenko 2009-04-04 20:34:22 +00:00
  • 34d4d89b2d hush: fix NOMMU hangs in pseudo_exec_argv. Add forgotted setting of signal mask. Reuse same help string in all shells. Denis Vlasenko 2009-04-04 20:24:37 +00:00
  • 552433bc5a hush: fix "var=val >file" not creating file Denis Vlasenko 2009-04-04 19:29:21 +00:00
  • a24c8caeb2 hush: remove code which errors out on $- and $_, it's useless; wrap some longish lines Denis Vlasenko 2009-04-04 15:24:40 +00:00
  • 7c9861214b hush: remove CHAR_xxx constants Denis Vlasenko 2009-04-04 12:15:42 +00:00
  • 6da69cddc0 hush: get rid of charmap[] Denis Vlasenko 2009-04-04 12:12:58 +00:00
  • dfa9de7176 simplify maybe_die() slightly Mike Frysinger 2009-04-03 22:48:10 +00:00
  • db2a9b683a hush: finally make cmd safe on NOMMU Denis Vlasenko 2009-04-03 22:31:18 +00:00
  • e0755e58ca hush: yet another randomconfig fix Denis Vlasenko 2009-04-03 21:16:45 +00:00
  • cc8289dc04 shell/math: randomconfig fix Denis Vlasenko 2009-04-03 21:13:31 +00:00
  • 60b392fd5b hush: randomconfig fixes Denis Vlasenko 2009-04-03 19:14:32 +00:00
  • b6e6556b31 hush: improve parse_stream: does not require parsing context struct; cleans up on syntax errors (we used to leak memory in this case); much simplified interface to the rest of hush. Denis Vlasenko 2009-04-03 16:49:04 +00:00
  • 240c255d8b hush: simplify parse_stream Denis Vlasenko 2009-04-03 03:45:05 +00:00
  • 3718168b87 hush: fix bug with local environment vars in pipes; simplify parse_stream() Denis Vlasenko 2009-04-03 03:19:15 +00:00
  • f9f7429346 hush: explain parsing context structure plug leak in setup_redirect on error path Denis Vlasenko 2009-04-03 00:07:05 +00:00
  • 027e3fddb5 hush: straighten parse_stream() API a bit Denis Vlasenko 2009-04-02 22:50:40 +00:00
  • a36258f288 trim trailing slashes from specified subdir so we output to the right place Mike Frysinger 2009-04-02 22:46:52 +00:00
  • b7aaae9052 hush: rename ->o_quote to ->o_escape hush_test/hush-arith/*: new tests for arithmetic evaluation Denis Vlasenko 2009-04-02 20:17:49 +00:00
  • 7a79afa3ca Arithmetic Expansion is supported now in hush, so drop from TODO Mike Frysinger 2009-04-02 17:06:35 +00:00
  • f328e00b10 hush: do not inadvertently parse $((1 + "22")) as ok. -20 bytes code size Denis Vlasenko 2009-04-02 16:55:38 +00:00
  • 2f1d394214 hush: make a=55; echo $(($a + 1)) $((1 + $((2)) + echo $a)) work as expected Denis Vlasenko 2009-04-02 16:31:29 +00:00
  • b29eb6ed25 shells: do not need to have math state global Denis Vlasenko 2009-04-02 13:46:27 +00:00
  • 0dfe1d26a9 fix ash-alias/alias.tests failure Denis Vlasenko 2009-04-02 12:57:38 +00:00
  • 98c52645c0 split math code out of ash and into a standalone library so we can use it in any shell (like hush!) Mike Frysinger 2009-04-02 10:02:37 +00:00
  • 551ffdccea more of pointless whitespace fixes Denis Vlasenko 2009-04-01 19:48:05 +00:00
  • bd79c3d337 dhcpd: remember and record hostnames; optimize get_option dumpleases: show hostnames Denis Vlasenko 2009-04-01 12:36:09 +00:00
  • 3266aa9ec2 trailing whitespace removal Denis Vlasenko 2009-04-01 11:24:04 +00:00
  • 88b8f0a347 sendmail: update by Vladimir build system: tweak for rare case where include/autoconf.h does not get updated Denis Vlasenko 2009-03-31 23:41:53 +00:00
  • d308106245 hust_test/*: use "$THIS_SH" instead of hush Denis Vlasenko 2009-03-31 22:14:32 +00:00
  • 9983d806d9 volumeid: fix bug 249 "findfs finds the wrong partition" Denis Vlasenko 2009-03-31 19:47:34 +00:00
  • f6fbd62760 ash: add/improve comments, no code changes Denis Vlasenko 2009-03-31 19:36:58 +00:00
  • 46aeab9a34 ash: fix $IFS handling in read. closes bug 235 Denis Vlasenko 2009-03-31 19:18:17 +00:00
  • 7566bae197 hush: fix wait builtin Denis Vlasenko 2009-03-31 17:24:49 +00:00
  • 70c6e40e47 libbb: fix typo in comment Denis Vlasenko 2009-03-31 13:14:18 +00:00
  • 1b62ead313 hush: don't lie in comment Denis Vlasenko 2009-03-31 13:13:17 +00:00
  • 7b830e78f2 hush: fix comments, no code changes Denis Vlasenko 2009-03-31 13:05:32 +00:00
  • 422cd7c81c hush: make ^C work again, ^Z probably isn't working Denis Vlasenko 2009-03-31 12:41:52 +00:00
  • abedaac842 hush: do not reset sighaldlers after fork - instead, prevent them from doing any harm if they will be called. saves many sigaction calls on every fork. Denis Vlasenko 2009-03-31 12:03:40 +00:00
  • d5762932fb hush: rework signal and trap handling. Some smaller bits are TODO, expect minor breakage Denis Vlasenko 2009-03-31 11:22:57 +00:00
  • d690f68554 implement unset semantics as required by POSIX Mike Frysinger 2009-03-30 06:50:54 +00:00
  • 5f9f1506ad fix DOC build output to be like kbuild standard Mike Frysinger 2009-03-30 05:26:34 +00:00
  • 0080ea7992 update trap poisx link Mike Frysinger 2009-03-30 03:50:07 +00:00
  • 87824e0e50 do not automatically display job information when the shell is not interactive Mike Frysinger 2009-03-30 00:19:30 +00:00
  • 681a4b7f06 enable trap tests Mike Frysinger 2009-03-29 23:49:46 +00:00
  • 9f8128f480 first pass at trap support in hush Mike Frysinger 2009-03-29 23:49:37 +00:00
  • 0d907eab6c modutils: dont pass NULL options to init_module() Denis Vlasenko 2009-03-29 17:25:14 +00:00
  • a83dbd4146 build system: hdparm -d is not that dangerous, remove warning Denis Vlasenko 2009-03-29 17:13:20 +00:00
  • a6eb7f4ddf sendmail: add more example in usage text Denis Vlasenko 2009-03-29 16:53:25 +00:00
  • e1de3af989 module loading for 2.4: use fd-based io instead of FILE based; use xlseek and xread; simpler check for ELF signature. Denis Vlasenko 2009-03-29 16:38:59 +00:00
  • fd303b11ef add test cases for trap ... but disabled for now until trap support is committed Mike Frysinger 2009-03-29 09:54:40 +00:00
  • 038fe44713 sysctl: move code around to get rid of forward references. (incidentally it helps gcc to make code smaller) Denis Vlasenko 2009-03-29 02:23:16 +00:00
  • 5a6617acb8 sysctl: fix broken -p [file] - close bug 231 Denis Vlasenko 2009-03-29 02:22:19 +00:00
  • b975febeea mark msh as deprecated Mike Frysinger 2009-03-29 00:52:41 +00:00
  • 40b8dc410e use bb_strtou() in umask/wait and check errno to see if there was a problem rather than using endp Mike Frysinger 2009-03-29 00:50:30 +00:00
  • 8ec1c9dc6e make sure we check job status whenever updating the prompt Mike Frysinger 2009-03-29 00:45:26 +00:00
  • 0b87e4ad15 test for invalid named variables Mike Frysinger 2009-03-28 21:06:38 +00:00
  • 7c3e52c1bd do not let handle_dollar() accept vars that start with a digit Mike Frysinger 2009-03-28 21:06:22 +00:00
  • 56bdea1b43 implement wait builtin Mike Frysinger 2009-03-28 20:01:58 +00:00
  • e61f07f036 remove ((expr)) bash'ism Denis Vlasenko 2009-03-28 19:31:34 +00:00
  • 701ac1864b randomconfig fix Denis Vlasenko 2009-03-28 19:22:08 +00:00
  • 5a82845f60 update the normally disabled debug code around the syntax() func to use new maybe_die() Mike Frysinger 2009-03-28 19:09:04 +00:00
  • a2333c8938 randomtest fixes Denis Vlasenko 2009-03-28 19:08:23 +00:00
  • 78f9d8eb7a add hush tests for parameter expansion Mike Frysinger 2009-03-28 18:55:34 +00:00
  • 6379bb4fde implement most POSIX parameter expansions (~+500bytes) Mike Frysinger 2009-03-28 18:55:03 +00:00
  • 42ab86520e make sure we exit based on test failure rather than always exiting with 0 Mike Frysinger 2009-03-28 15:43:47 +00:00
  • 25a6ca0dd4 split up feature todo by posix/bash Mike Frysinger 2009-03-28 13:59:26 +00:00
  • ad88d5a4cf unify set handling with command line processing, fixup set argv processing so it doesnt clobber argv when setting options, and barf on unhandled set options Mike Frysinger 2009-03-28 13:44:51 +00:00
  • 19a7ea126a handle the "-s" command line option that POSIX requires Mike Frysinger 2009-03-28 13:02:11 +00:00
  • a71cfa8aa1 rename "-f" (fake) option to "-n" to match POSIX Mike Frysinger 2009-03-28 12:57:54 +00:00
  • d006edb2ca tweak format modifier in debug code to fixup gcc warning Mike Frysinger 2009-03-28 12:43:53 +00:00
  • ec2c655702 convert some of the ENABLE_FEATURE_EDITING from CPP if to C if Mike Frysinger 2009-03-28 12:24:44 +00:00
  • 39456a18a1 stop lying about [[ test support Mike Frysinger 2009-03-28 12:21:57 +00:00
  • 781b672b37 mkfs.vfat: fix a problem with over-estimating FAT size Denis Vlasenko 2009-03-28 12:17:20 +00:00