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

Commit Graph

  • 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
  • 70a2c8d531 make lash deprecation more prominent Mike Frysinger 2009-03-28 12:12:58 +00:00
  • f54dd09171 mkfs.vfat: mkdosfs compat with choosing clyster size Denis Vlasenko 2009-03-28 03:22:08 +00:00
  • 14ee4e65f1 mkfs.vfat: more of pointless tweaking Denis Vlasenko 2009-03-28 02:28:58 +00:00
  • 020f465cbd mkfs.vfat: small tweak to comments Denis Vlasenko 2009-03-28 02:18:49 +00:00
  • 9d04b6b630 mkdosfs (aka mkfs.vfat): new applet by Vladimir Denis Vlasenko 2009-03-28 02:13:01 +00:00
  • 4d3a812b71 ls: warning fix rm: accept and ignore -v (verbose) Denis Vlasenko 2009-03-27 17:22:00 +00:00
  • 3603cd2808 tail: fix tail +N syntax not working. Closes bug 221. Denis Vlasenko 2009-03-27 02:36:02 +00:00
  • bfc0fae952 enable most job functions on no-mmu systems Mike Frysinger 2009-03-26 18:14:16 +00:00
  • f9beb61a81 tftp: when we infer local name from remote (-r [/]path/path/file), strip path. This mimics wget and is generally more intuitive. Denis Vlasenko 2009-03-25 03:55:53 +00:00
  • b2705e1652 do not make startup banner depend on job support Mike Frysinger 2009-03-23 08:44:02 +00:00
  • c0ea82a457 libbb: revent previous version of "concurrent history updating" and replace it with one which does not "snoop" history written by others. (1) it is what bug 185 needs, and (2) it is less bloaty: Denis Vlasenko 2009-03-23 06:33:37 +00:00
  • ddbee974b4 move parse_stream out of ENABLE_HUSH_TICK to avoid implicit decl/build error Mike Frysinger 2009-03-22 22:48:41 +00:00
  • 57abf9e947 libbb: make history saving/loading concurrent-safe * all history writers always append (not overwrite) history files * they reload history if they detect that file length has changed since last write * they trim history file only when it grows 4 times longer than MAXLINES * they do this atomically by creating new file and renaming it to old Denis Vlasenko 2009-03-22 19:00:05 +00:00
  • 3fd1046300 timeout: fix parsing of -t NUM on MMU Denis Vlasenko 2009-03-22 14:49:00 +00:00
  • 424f79b48f hush: rearrange functions to reduce amount of forward references. Minimal code changes. Denis Vlasenko 2009-03-22 14:23:34 +00:00
  • e1300f6fc7 hush: fix segv at repeated "set -- a b c" + "shift" Denis Vlasenko 2009-03-22 11:41:18 +00:00
  • 786ce17d6d hush: fix strcpy of potentially overlapping strings Denis Vlasenko 2009-03-21 21:51:11 +00:00
  • ccff0b962c msh testsuite: fix false positive, tweak run stript Denis Vlasenko 2009-03-21 19:58:58 +00:00
  • 3a014b85dc ls: make readlink error to not disrupt output (try ls -l /proc/self/fd). libbb: make xmalloc_readlink_or_warn warning more specific. Denis Vlasenko 2009-03-21 19:11:23 +00:00
  • 05af832097 cpio: more compat: -0 and -L options Denis Vlasenko 2009-03-20 23:01:48 +00:00
  • 83518d18a3 Compatibility fixes: Denis Vlasenko 2009-03-20 22:17:13 +00:00
  • 0b28103cc7 cd: "support" -v by ignoring it Denis Vlasenko 2009-03-20 14:04:00 +00:00
  • feecc7b74e hush: tweak testsuite Denis Vlasenko 2009-03-20 12:12:33 +00:00
  • a8b6dff97f hush: fix bug 207 and "hush -c" parameter passing. Now hush -c 'printf "%s\n" "$@"' (prints "\n") and hush -c 'printf "%s\n" "$@"' qwe asd (prints "asd\n") both work correctly Denis Vlasenko 2009-03-20 12:05:14 +00:00
  • 5368ad53e9 ash: expand comment Denis Vlasenko 2009-03-20 10:20:08 +00:00
  • 11fb7cf5af hush: fix set [--] params. Closes bug 199. Denis Vlasenko 2009-03-20 10:13:08 +00:00
  • 1bb3d7e450 ash: add missing comma in debug scaffolding Denis Vlasenko 2009-03-20 07:45:36 +00:00
  • b9e70ddf2d ash: fix a case where we close wrong descriptor; add debug hack for that Denis Vlasenko 2009-03-20 01:24:08 +00:00
  • f173395c4a ash: DEBUG should be 0 :) Denis Vlasenko 2009-03-19 23:21:55 +00:00
  • b21f379639 ash: fix TRACE commands Denis Vlasenko 2009-03-19 23:09:58 +00:00
  • 653d8e79b2 ash: make evaltree save/restore int suppression depth. Hopefully this fixes bug 189. Not confirmed by users yet. Denis Vlasenko 2009-03-19 21:59:35 +00:00
  • 731de5ce76 doc update Denis Vlasenko 2009-03-19 13:42:05 +00:00
  • 4b875708c1 ash: in dotrap(), do not clear gotsig[] for SIGINT if there is no handler for it, otherwise raise interrupt gets confused later. The rest are readability fixes. Denis Vlasenko 2009-03-19 13:30:04 +00:00
  • 0354aba9a1 df: fix FEATURE_DF_FANCY=off, FEATURE_HUMAN_READABLE=on case. Denis Vlasenko 2009-03-19 03:56:20 +00:00
  • 7f88e34e1a ash: tentatively fix bug 189. Denis Vlasenko 2009-03-19 03:36:18 +00:00
  • 5981ba5843 init: test for vt terminal with VT_OPENQRY, assume that anything else is TERM=vt102, not TERM=linux. (Serial console test is less correct) Tentatively closes bug 195. Denis Vlasenko 2009-03-19 02:35:44 +00:00
  • 5c2b81470d ash: fix "ash -c 'exec 1>&0'" complaining that fd 0 is busy Denis Vlasenko 2009-03-19 01:59:59 +00:00
  • c1969f69b1 ls: make color-related code more readable. Fix a case when it was working non-deterministically. Denis Vlasenko 2009-03-18 22:39:34 +00:00
  • cbb4e61dd5 httpd: add comment explaining why SERVER_NAME etc is not set. Denis Vlasenko 2009-03-18 20:00:46 +00:00
  • 9f57cf6604 ftpd: fix command fetching to not do it in 1-byte reads; fix command de-escaping. Tested to download files with embeeded \xff and LF. libbb: tweaks for the above Denis Vlasenko 2009-03-18 17:32:44 +00:00
  • fce4a9454c ftpd: add some comments Denis Vlasenko 2009-03-18 16:02:54 +00:00
  • e3b840ce98 ftpd: trim messages (but make sure they still make sense) text data bss dec hex filename 4400 0 0 4400 1130 ftpd_old.o 4346 0 0 4346 10fa ftpd.o Denis Vlasenko 2009-03-18 14:25:28 +00:00
  • 5b492ee876 ftpd: do not use nasty tricks for re-execing if we are on MMU machine. On NOMMU, code is alomost the same, on MMU: Denis Vlasenko 2009-03-18 14:12:22 +00:00
  • 1432cb4bd9 ftpd: add support for MDTM, I see clients often use it, it may allow client-side caching. Denis Vlasenko 2009-03-18 00:45:00 +00:00
  • 3a7a1eba2e ftpd: document NLST format Denis Vlasenko 2009-03-17 13:03:06 +00:00
  • 1a82555108 ftpd: instead of wordy HELP, implement useful, and smaller, FEAT. (HELP is still "supported" as an alias to FEAT) Denis Vlasenko 2009-03-17 12:40:34 +00:00
  • edb0de4283 ftpd: implement -vv verbosity Denis Vlasenko 2009-03-17 12:23:24 +00:00
  • e6c94a611a ftpd: tweak timeout code Denis Vlasenko 2009-03-17 05:11:51 +00:00
  • 99d71da1cf chat: update by Vladimir 1) to treat timeout more correctly (timeout affects whole send command duration, not a single char); 2) to recognize RECORD directive. Denis Vlasenko 2009-03-16 23:06:23 +00:00
  • 074c9036b2 ftpd: fix thinko: set_nport takes port in network order Denis Vlasenko 2009-03-16 21:01:41 +00:00
  • fbf5846ce1 ftpd: dont use fdprintf for simple status messages Denis Vlasenko 2009-03-16 20:54:45 +00:00
  • 43bb7bba3b ftpd: simplify PORT check by assuming IP = peer's IP. Should be as safe as before this change. Denis Vlasenko 2009-03-16 19:54:06 +00:00
  • 20c8216897 ftpd: add idle and absolute timeouts. This is a security issue, otherwise ftpd may end up hanging indefinitely. Denis Vlasenko 2009-03-16 16:19:53 +00:00
  • f2160b6a09 ftpd: security tightened up: PORT is not allowed on !IPv4 PORT must have IP == peer's IP upload is allowed only into regular files Denis Vlasenko 2009-03-16 14:53:54 +00:00
  • 7a6766428e awk: fix compat issue found by gpm build Denis Vlasenko 2009-03-15 22:20:31 +00:00
  • 9210a36495 tr: support -C as synonym to -c Denis Vlasenko 2009-03-15 16:41:55 +00:00
  • fc58ba1298 ftpd: fix the bug where >2GB file ops report errors; make a few simplifications; add TODOs. Denis Vlasenko 2009-03-15 15:54:58 +00:00
  • 823f10b8f0 sha: merge K[] for sha256 and 512 Denis Vlasenko 2009-03-15 04:56:51 +00:00
  • 8ec8d5e3db sha: fix thinko in sha512; add FAST_FUNC to sha1/sha256 Denis Vlasenko 2009-03-15 02:56:00 +00:00
  • e9afc468fa sha: merge sha1/sha256 handling (they are similar enough for this), shrink sha215 code Denis Vlasenko 2009-03-15 02:28:05 +00:00