mirror of
synced
2026-11-01 09:34:39 +03:00
-
455e422814
ash: move ifsbreakup() and ifsfree() up
Denys Vlasenko
2016-10-27 14:45:13 +02:00
-
b4f51d32d2
ash: partially sync with dash on "fork if traps are set" logic
Denys Vlasenko
2016-10-27 12:55:09 +02:00
-
2eb0a7e1b9
ash: [SHELL] Expand ENV before using it
Denys Vlasenko
2016-10-27 11:28:59 +02:00
-
70392331a9
ash: comment tweaks, no code changes
Denys Vlasenko
2016-10-27 02:31:55 +02:00
-
65a8b859a9
ash: optimize tryexec(): avoid one allocation
Denys Vlasenko
2016-10-26 22:29:11 +02:00
-
0e081d01a8
ash: [CD] Lookup PWD after going through CDPATH
Denys Vlasenko
2016-10-26 19:56:05 +02:00
-
a318bba199
ash: [MEMALLOC] Made grabstackblock an inline wrapper for stalloc
Denys Vlasenko
2016-10-26 18:26:27 +02:00
-
dbef38a74b
ash: [VAR] Remove setvarsafe
Denys Vlasenko
2016-10-26 17:54:32 +02:00
-
35c2a136cd
ash: use shellparam.optind/optoff in getopts() directly, not through pointers
Denys Vlasenko
2016-10-26 17:34:26 +02:00
-
3df1410a00
ash: [PARSER] Size optimisations in parameter expansion parser
Denys Vlasenko
2016-10-26 16:41:13 +02:00
-
350e686f3b
ash: [PARSER] Recognise here-doc delimiters terminated by EOF
Denys Vlasenko
2016-10-26 16:26:45 +02:00
-
f15aa57a7f
ash: [PARSER] Fix parsing of ${##1}
Denys Vlasenko
2016-10-26 15:56:53 +02:00
-
e19923f665
ash: [REDIR] Remove redundant CLOEXEC calls
Denys Vlasenko
2016-10-26 15:38:44 +02:00
-
647746076a
ash: [REDIR] Replace copyfd by savefd and use dup2 elsewhere
Denys Vlasenko
2016-10-26 15:24:30 +02:00
-
4135a75ab0
typo fixes
Denys Vlasenko
2016-10-26 13:15:35 +02:00
-
a513bf3c3c
ash: [BUILTIN] Treat OPTIND=0 in the same way as OPTIND=1
Denys Vlasenko
2016-10-26 02:03:37 +02:00
-
88e15703ac
ash: [PARSER] Report substition errors at expansion time
Denys Vlasenko
2016-10-26 01:55:56 +02:00
-
eaf9436b08
ash: [REDIR] Move null redirect checks into caller
Denys Vlasenko
2016-10-25 21:46:03 +02:00
-
2a6d29ad5c
ash: [PARSER] Do not show prompts in expandstr
Denys Vlasenko
2016-10-25 21:17:52 +02:00
-
579ad107a6
ash: [EXPAND] Removed herefd hack
Denys Vlasenko
2016-10-25 21:10:20 +02:00
-
caee80cd3d
ash: [SHELL] Move flushall to the point just before _exit
Denys Vlasenko
2016-10-25 20:49:53 +02:00
-
7aec86820d
ash: [EVAL] Let funcnode refer to a function definition, not its first command
Denys Vlasenko
2016-10-25 20:26:02 +02:00
-
20a2cd6291
ash: [REDIR] Remove EMFILE special case
Denys Vlasenko
2016-10-25 19:04:39 +02:00
-
cf98b0c085
ash: [EVAL] Check exit for eval NSUBSHELL
Denys Vlasenko
2016-10-25 18:19:39 +02:00
-
960ca385b7
ash: add comment explaining "set -e; $(cmd)" discrepancy
Denys Vlasenko
2016-10-25 18:12:15 +02:00
-
6a94cee409
ash: reduce code differences from upstream
Denys Vlasenko
2016-10-25 17:40:25 +02:00
-
1825e4f935
ash: remove unused EXSHELLPROC
Denys Vlasenko
2016-10-25 17:26:56 +02:00
-
061a09091f
ash: [BUILTIN] Use EXEXIT in place of EXEXEC
Denys Vlasenko
2016-10-25 17:24:25 +02:00
-
b7adf7ac32
ash,hush: set exit code 127 in "sh /does/not/exist" case
Denys Vlasenko
2016-10-25 17:00:13 +02:00
-
f11c6989ba
udhcpc: check read of overload option data byte to be within packet
Denys Vlasenko
2016-10-25 14:25:52 +02:00
-
f9beeb22e2
udhcpc: check read of option length byte to be within packet
Brian Foley
2016-10-25 14:20:55 +02:00
-
69312e87b0
strings: implement -t radix
Tito Ragusa
2016-10-24 21:52:10 +02:00
-
db74c6caed
ash: explain EXP_REDIR and why we (dont) glob redir filenames
Denys Vlasenko
2016-10-24 21:12:33 +02:00
-
61d5997b58
awk: fix segfault on for loop syntax error
Brian Foley
2016-10-15 14:45:40 +01:00
-
1336052a49
lineedit: fix completion with applet names. closes 9361
Denys Vlasenko
2016-10-24 01:25:05 +02:00
-
5ccb0e92fa
ash: return exit status of nofork applets
Ron Yorston
2016-10-20 12:24:02 +01:00
-
6bbb48fadf
examples: update var_service/README again
Denys Vlasenko
2016-10-14 19:02:11 +02:00
-
e43000f2d4
typo fixes in doc
Denys Vlasenko
2016-10-14 18:48:05 +02:00
-
93ff2b4b5f
examples: update var_service/README again
Denys Vlasenko
2016-10-14 18:38:08 +02:00
-
ee2d19445b
examples: update var_service/README
Denys Vlasenko
2016-10-14 18:22:50 +02:00
-
662634b829
telnetd: ifdef out a buggy error handling code path
Denys Vlasenko
2016-10-13 16:17:06 +02:00
-
85100a7067
cpio: fix restoration of file ownership, closes 9306
Denys Vlasenko
2016-10-12 20:56:46 +02:00
-
57727d478d
telnet: code shrink
Denys Vlasenko
2016-10-12 20:42:58 +02:00
-
26d88d6bbd
telnetd: add another handshake example in comments, no code changes
Denys Vlasenko
2016-10-12 20:09:22 +02:00
-
b6d421b635
telnetd: treat all 2-byte IACs in 240..249 range as NOPs.
Denys Vlasenko
2016-10-12 19:41:33 +02:00
-
122c47ac02
telnetd: fix corner case of input processing of 0xff bytes
Denys Vlasenko
2016-10-12 19:13:46 +02:00
-
0190c41bb2
telnetd: fix a corner case where CRLF->CR translation can misbehave
Denys Vlasenko
2016-10-12 17:36:57 +02:00
-
2a54b3e86e
telnetd: fix handling of short writes to pty
Denys Vlasenko
2016-10-12 14:54:10 +02:00
-
713b513353
more: accept and ignore a bunch of options
Denys Vlasenko
2016-10-11 15:29:38 +02:00
-
3720a61daf
ifupdown: rewrite state file atomically
Denys Vlasenko
2016-10-09 23:04:16 +02:00
-
868530ade2
Apply post-1.25.0 patches, bump version to 1.25.1
1_25_1
Denys Vlasenko
2016-10-07 17:11:04 +02:00
-
ec1ea16337
tcpsvd: don't keep shared fd open if fd limit is reached. closes 9331
Denys Vlasenko
2016-10-07 15:56:47 +02:00
-
561639a68c
ash: all blocks in function node copying must be SHELL_ALIGNed
Denys Vlasenko
2016-10-07 04:28:33 +02:00
-
d43be87591
ash testsuite: fix false positives
Denys Vlasenko
2016-10-07 04:07:05 +02:00
-
4c438b5ba4
ash: get rid of two global data variables
Denys Vlasenko
2016-10-07 04:05:15 +02:00
-
f37e1155aa
ash: comment out free(p) just before _exit, tweak some outdated comments
Denys Vlasenko
2016-10-07 03:17:28 +02:00
-
2972e2c4ac
wget: there is no -s option in GNU Wget 1.18, we should be compatible
Denys Vlasenko
2016-10-04 04:23:09 +02:00
-
a85740c8af
dhcp: merge leases.c and static_leases.c into dhcpd.c
Denys Vlasenko
2016-10-04 00:51:38 +02:00
-
d2ae66cb3e
dhcp: merge most of static_leases.c into dhcpd.c
Denys Vlasenko
2016-10-04 00:43:14 +02:00
-
2bf2931d52
dhcp: merge files.c into dhcpd.c
Denys Vlasenko
2016-10-04 00:37:50 +02:00
-
095ddf7669
examples: add example of a DHCP server
Denys Vlasenko
2016-10-03 23:43:44 +02:00
-
7f0ebbc69e
hush: add commented-out debug printouts in "memleak" built-in
Denys Vlasenko
2016-10-03 17:42:53 +02:00
-
a769390da6
hush: fix a memory corruption when exported variable is modified
Denys Vlasenko
2016-10-03 15:01:06 +02:00
-
04465dad66
hush: fix exitcode on exec failure with EACCES - should be 126
Denys Vlasenko
2016-10-03 01:01:15 +02:00
-
c775f829db
sh testsuite: add tests for exitcode on failure to exec
Denys Vlasenko
2016-10-03 00:55:34 +02:00
-
2feaa227a4
shell: delete all msh tests
Denys Vlasenko
2016-10-03 00:51:29 +02:00
-
9793fc576a
hush testsuite: fix another false positive
Denys Vlasenko
2016-10-03 00:14:26 +02:00
-
d3b4e5ec6a
hust testsuite: fix a false positive
Denys Vlasenko
2016-10-03 00:10:20 +02:00
-
a62bc80571
ash testsuite: add most of hust tests which pass for ash
Denys Vlasenko
2016-10-03 00:06:55 +02:00
-
ce332a23a3
ash: [PARSER] Add nlprompt/nlnoprompt helpers
Denys Vlasenko
2016-10-02 23:47:34 +02:00
-
80729a4472
whitespace fixes
Denys Vlasenko
2016-10-02 22:33:15 +02:00
-
db7f4c203b
hush: add var4.tests, var5.tests
Denys Vlasenko
2016-10-02 21:13:13 +02:00
-
61508d9624
hush: fix var3.tests
Denys Vlasenko
2016-10-02 21:12:02 +02:00
-
ebedb9478d
sh: do not print empty line at the end of "help" output
Denys Vlasenko
2016-10-02 18:45:09 +02:00
-
df303ae117
sh testsuite: sync ash-redir/ and hush-redir/
Denys Vlasenko
2016-10-02 18:32:52 +02:00
-
c7a774dde4
sh testsuite: sync ash-misc/source* and hush-misc/source*
Denys Vlasenko
2016-10-02 18:23:14 +02:00
-
0ba99705a1
sh testsuite: sync ash-vars/ and hush-vars/
Denys Vlasenko
2016-10-02 18:17:15 +02:00
-
e3354bc44a
ash testsuite: update some of variable tests with newer versions from hush
Denys Vlasenko
2016-10-02 18:08:04 +02:00
-
c4cf542c57
sh testsuite: create hush-redir/* and move files around
Denys Vlasenko
2016-10-02 17:55:51 +02:00
-
1b73f8471a
sh testsuite: create hush-heredoc/* and move files around
Denys Vlasenko
2016-10-02 17:49:46 +02:00
-
5d6b8729ed
hush testsuite: add many tests from ash testsuite
Denys Vlasenko
2016-10-02 17:39:31 +02:00
-
888527ccee
ash: undo "tokname hack"
Denys Vlasenko
2016-10-02 16:54:17 +02:00
-
bc1a00843f
ash: placate gcc: "warning: ! is only applied to the left hand side of =="
Denys Vlasenko
2016-10-02 15:31:33 +02:00
-
ae4bd34e6b
hush testsuite: add glob_dir.tests
Denys Vlasenko
2016-10-02 15:20:57 +02:00
-
8e2c9cc2fc
ash: fix globbing bugs when using glibc glob()
Denys Vlasenko
2016-10-02 15:17:15 +02:00
-
37dc08b874
ash: style fixes
Denys Vlasenko
2016-10-02 04:38:07 +02:00
-
0cdb7ea380
ash: support "--" in "source" builtin
Denys Vlasenko
2016-10-02 03:16:00 +02:00
-
0aaaa50b45
ash: expand: Fixed "$@" expansion when EXP_FULL is false
Denys Vlasenko
2016-10-02 02:46:56 +02:00
-
42eeb255c1
test: fix compile error in last commit
Denys Vlasenko
2016-10-02 02:35:13 +02:00
-
de89205bdf
test: memory leak: free group id list
Denys Vlasenko
2016-10-02 01:49:13 +02:00
-
ff59b7b112
ash,hush: add a test that "continue" does not cripple traps
Denys Vlasenko
2016-10-01 23:28:02 +02:00
-
b98b4c103f
ash: fix return_in_trap1.tests failure
Denys Vlasenko
2016-10-01 23:25:12 +02:00
-
3ed7e2749a
ash testsuite: add return_in_trap1.tests
Denys Vlasenko
2016-10-01 22:36:14 +02:00
-
04b46bced9
hush: 'return' should have effect earlier
Denys Vlasenko
2016-10-01 22:28:03 +02:00
-
0dd8e45d42
ash: [EXPAND] Optimise nulonly away and just use quoted as before
Denys Vlasenko
2016-10-01 21:02:06 +02:00
-
88ac97d02d
ash: [EXPAND] Do not split quoted VSLENGTH and VSTRIM
Denys Vlasenko
2016-10-01 20:55:02 +02:00
-
c4d4380a07
ash: [EXPAND] Split unquoted $@/$* correctly when IFS is set but empty
Denys Vlasenko
2016-10-01 20:35:10 +02:00
-
a2633aa819
hush: add func6.tests
Denys Vlasenko
2016-10-01 20:12:10 +02:00
-
35ec818fa2
ash: fix "return N" not setting $? in loop conditionals
Denys Vlasenko
2016-10-01 19:56:52 +02:00
-
1b8e0e8adf
ash testsuite: remove two more inadvertent bashisms
Denys Vlasenko
2016-10-01 17:43:04 +02:00