1
0
mirror of synced 2026-10-30 21:34:23 +03:00

Commit Graph

  • 45dd87aac0 ash: expand: Ensure result is escaped in cvtnum Denys Vlasenko 2020-02-21 16:30:44 +01:00
  • da2e46dff6 ash: memalloc: Avoid looping in growstackto Denys Vlasenko 2020-02-21 15:25:37 +01:00
  • 3ced804e31 hush: make "exit" in trap use pre-trap exitcode - fix for nested trap Denys Vlasenko 2020-02-21 02:55:53 +01:00
  • cc9ecd9af1 hush: make "exit" in trap use pre-trap exitcode Denys Vlasenko 2020-02-21 02:18:06 +01:00
  • f977e004ce ash: eval: Only restore exit status on exit/return Denys Vlasenko 2020-02-20 16:54:29 +01:00
  • cd24a50633 ash: Return without arguments in a trap should use status outside traps Denys Vlasenko 2020-02-20 16:47:01 +01:00
  • bb095f4838 hush: implement "return NUM in trap sets $? after trap" Denys Vlasenko 2020-02-20 16:37:59 +01:00
  • d5bfe26c45 ash: return exit status of nofork applets (again) Ron Yorston 2020-02-20 08:23:03 +00:00
  • ecc85832f8 ash: expand: Merge syntax/quotes in memtodest with flags Denys Vlasenko 2020-02-20 10:06:20 +01:00
  • e2dd2afc8e ash: eval: Always set localvar_stop Denys Vlasenko 2020-02-20 10:33:38 +01:00
  • 3e729102a8 ash: eval: Replace with listsetvar with mklocal/setvareq Denys Vlasenko 2020-02-19 17:33:44 +01:00
  • 54bef2a8ef ash: eval: Fail immediately with redirections errors for simple command Denys Vlasenko 2020-02-19 15:30:20 +01:00
  • 7eb8eecbbc ash: eval: Add assignment built-in support again Denys Vlasenko 2020-02-19 15:15:13 +01:00
  • c91950f315 ash,hush: testcase for "exit" without arguments in a trap Denys Vlasenko 2020-02-19 12:10:41 +01:00
  • 23bc562a05 ash,hush: add comment about masked SIGCHLD, handle SIG_IGNed SIGHUP as in bash Denys Vlasenko 2020-02-18 16:46:01 +01:00
  • 47eb979404 ash: jobs: Only clear gotsigchld when waiting for everything Denys Vlasenko 2020-02-18 15:37:43 +01:00
  • 97edfc42f1 ash: jobs - Do not block when waiting on SIGCHLD Denys Vlasenko 2020-02-18 14:37:56 +01:00
  • d81af7216b ash: eval: Reap zombies after built-in commands and functions Denys Vlasenko 2020-02-18 14:28:30 +01:00
  • 22c75924da ash: exec: Never rehash regular built-ins Denys Vlasenko 2020-02-17 16:20:05 +01:00
  • 6c4f87e411 ash: exec: Stricter pathopt parsing Denys Vlasenko 2020-02-17 16:02:40 +01:00
  • b0d2dc7d62 ash: exec: Do not allocate stack string in padvance Denys Vlasenko 2020-02-17 15:27:41 +01:00
  • c55847fedb ash: memalloc: Add growstackto helper Denys Vlasenko 2020-02-17 15:59:08 +01:00
  • 74aaf05170 ash: parser: Save/restore here-documents in command substitution Denys Vlasenko 2020-02-17 12:11:26 +01:00
  • afc91faedd ash: mkinit: Split reset into exitreset and reset Denys Vlasenko 2020-02-17 11:22:59 +01:00
  • 9ee5892798 ash: expand: Fix trailing newlines processing in backquote expanding Denys Vlasenko 2020-02-17 10:24:32 +01:00
  • c2ce888030 ash: parser: Only accept single-digit parameter expansion outside of braces Denys Vlasenko 2020-02-17 10:15:35 +01:00
  • 3f4847b6d9 ash: shell: Fix clang warnings about "string plus integer" Denys Vlasenko 2020-02-16 19:06:42 +01:00
  • e368d851e7 ash: eval: Use the correct expansion mode for fd redirection Denys Vlasenko 2020-02-16 19:02:22 +01:00
  • 4ace385809 ash: expand: Fix skipping of command substitution when trimming in evalvar Denys Vlasenko 2020-02-16 18:42:50 +01:00
  • 226b8a143d ash: main: Print \n upon EOF (CTRL-D) when run interactively Denys Vlasenko 2020-02-16 18:57:53 +01:00
  • e880b1fea8 ash: expand: Use HOME in tilde expansion when it is empty Denys Vlasenko 2020-02-16 18:31:05 +01:00
  • a7b97e367c ash: builtin: Mark more regular built-ins Denys Vlasenko 2020-02-16 18:29:52 +01:00
  • 2bad3a305b ash: jobs: Replace some uses of fmtstr with stpcpy/stpncpy Denys Vlasenko 2020-02-16 18:23:43 +01:00
  • 3f7fb2c89a ash: output: Fix fmtstr return value Denys Vlasenko 2020-02-16 18:06:20 +01:00
  • 970470e235 ash: main: Only set savestatus in exitcmd Denys Vlasenko 2020-02-14 17:32:22 +01:00
  • 4ccddc8fb3 ash: [BUILTIN] Exit without arguments in a trap should use status outside traps Denys Vlasenko 2020-02-14 17:27:18 +01:00
  • f7eea8c235 ash: parser: Fix incorrect eating of backslash newlines Denys Vlasenko 2020-02-14 16:16:34 +01:00
  • acf79f9913 ash: use pgetc_eatbnl() in more places, take 2 Denys Vlasenko 2020-02-14 16:12:06 +01:00
  • a6e48dead3 fdisk: add HFS / HFS+ partition type Denys Vlasenko 2020-02-14 13:57:41 +01:00
  • adc540f0db tftp: on download, open local file only when first bit of data arrived Denys Vlasenko 2020-02-13 15:27:23 +01:00
  • 0c4e5977df tftp: fix thinko in code shrink Denys Vlasenko 2020-02-13 15:03:12 +01:00
  • 779df9f228 tftp: code shrink Denys Vlasenko 2020-02-13 13:01:43 +01:00
  • 260bd21169 tftpd: show requested file name in open error message Denys Vlasenko 2020-02-13 12:58:46 +01:00
  • bd8b05ba1b awk: fix more "length" cases, closes 12486 Denys Vlasenko 2020-02-02 23:28:55 +01:00
  • 9e2a5668fd ash,hush: allow builtins to be tab-completed, closes 7532 Ron Yorston 2020-01-21 16:01:58 +00:00
  • 1ff7002b1d xargs: fix handling of quoted arguments, closes 11441 Ron Yorston 2020-01-24 13:16:45 +00:00
  • 16bcd504a3 vi: fixes to string search in colon commands, closes 10321 Ron Yorston 2020-01-23 15:31:19 +00:00
  • b0c711e64f ash: improve expandstr() Ron Yorston 2020-01-23 11:26:08 +00:00
  • eb7f9acda1 syslogd: add config option to include milliseconds in timestamps Peter Korsgaard 2020-01-27 15:36:41 +01:00
  • 020abc8856 udhcpd: mangle hostnames starting with dash ("-option") Denys Vlasenko 2020-01-14 17:05:48 +01:00
  • 9ec836c033 whois: limit total length of response to 32+2 kb Denys Vlasenko 2019-12-03 14:52:17 +01:00
  • 356f23de20 init: improve handling of signals racing with each other Denys Vlasenko 2019-12-03 13:48:55 +01:00
  • 113c776f4d init: if tcgetattr() fails, don't even try to tcsetattr() Denys Vlasenko 2019-12-02 16:39:54 +01:00
  • 259747caa7 hush: fix preprocessor directives indentation Denys Vlasenko 2019-11-28 10:28:14 +01:00
  • 1b76ffaae4 grep: add -R Tomi Leppanen 2019-11-25 17:59:52 +02:00
  • 008413754b bc: fix comparison bug, closes 12336 Denys Vlasenko 2019-11-23 17:25:21 +01:00
  • d3539be8f2 Remove stime() function calls Alistair Francis 2019-11-19 13:06:40 +01:00
  • 419d0294e9 Updated inittab example documentation Denys Vlasenko 2019-11-17 17:48:53 +01:00
  • af6bc54fde chgrp: correct the usage for non-desktop chgrp calls Liu, Shuang (ADITG/ESM) 2019-11-13 14:36:20 +00:00
  • b230fdfa9d taskset: tighten the check for stride values Denys Vlasenko 2019-11-09 17:32:43 +01:00
  • a82fb1b9d8 taskset: implement stride argument Denys Vlasenko 2019-11-09 17:05:14 +01:00
  • 2f57b5139e unxz: show -t in --help Denys Vlasenko 2019-11-08 16:37:28 +01:00
  • e5586605ca taskset: update comment Denys Vlasenko 2019-11-08 16:32:37 +01:00
  • 162ac7f45e taskset: add support for taking/printing CPU list (-c option) Denys Vlasenko 2019-11-01 15:44:49 +01:00
  • 21806562ca hush: restore redirected stdin Denys Vlasenko 2019-11-01 14:16:07 +01:00
  • ea096d6c13 ntpd: decrease MIN_FREQHOLD by 2, increase "penalty" for largish offset x2 Denys Vlasenko 2019-10-30 12:13:46 +01:00
  • 6b4960155e nslookup: implement support for SRV records Jo-Philipp Wich 2019-06-27 17:27:29 +02:00
  • 8c3b520d4f nslookup: handle replies without RRs Jo-Philipp Wich 2019-06-27 17:27:28 +02:00
  • caf5ee0dd9 gunzip: fix incorrect decoding of "fixed" inflate blocks Denys Vlasenko 2019-10-26 20:04:34 +02:00
  • 122a8cbd4a hdparm: placate "warning: taking the absolute value of unsigned type" Denys Vlasenko 2019-10-25 17:47:22 +02:00
  • 9a0c404d5f vi: placate "warning: shifting a negative signed value is undefined" Denys Vlasenko 2019-10-25 17:42:23 +02:00
  • f39a71817e read_key(): placate "warning: shifting a negative signed value is undefined" Denys Vlasenko 2019-10-25 17:40:57 +02:00
  • d6ff27de15 ntpd: abs(tmx.offset) was truncating a "long" typed value Denys Vlasenko 2019-10-25 17:35:58 +02:00
  • b4ad1d86b6 tc: array address is never NULL Denys Vlasenko 2019-10-25 13:41:31 +02:00
  • e076162897 traceroute: fix gcc-ism Denys Vlasenko 2019-10-25 13:39:41 +02:00
  • e5897d041d suppress a few "unused function" warnings Denys Vlasenko 2019-10-25 13:05:15 +02:00
  • 1f1492bb96 netstat: suppress a warning (conversion from 'int' to 'smallint' changes value) Denys Vlasenko 2019-10-25 13:00:01 +02:00
  • b4ef2e3467 Makefile.flags: suppress some clang-9 warnings Denys Vlasenko 2019-10-25 12:56:51 +02:00
  • af7169b4a7 clang/llvm 9 fix - do not eliminate a store to a fake "const" Denys Vlasenko 2019-10-25 12:12:22 +02:00
  • bd75474639 Bump version to 1.31.1 1_31_1 1_31_stable Denys Vlasenko 2019-10-25 10:45:05 +02:00
  • e1a7c97ac6 tar: fix fallout of: change -a from meaning "lzma" to mean "autodetect by extension" Denys Vlasenko 2019-10-25 10:30:53 +02:00
  • be5a505d77 Remove syscall wrappers around clock_gettime, closes 12091 Denys Vlasenko 2019-10-24 16:26:55 +02:00
  • 7427406580 shell: better comments in BASE#nn code Denys Vlasenko 2019-10-22 14:25:43 +02:00
  • ebc1c38a92 dpkg-deb: work around bogus error message when working with XZ compressed packages Denys Vlasenko 2019-10-11 14:11:44 +02:00
  • be11940911 telnet: fix uninitialized variable bug Denys Vlasenko 2019-09-25 13:48:01 +02:00
  • 49a8839638 ash: fix BASE##nn bashism for bases 36..64 Denys Vlasenko 2019-09-22 23:40:10 +02:00
  • 3004510fdc ash: fix BASE##nn bashism to accept letter 'digits' for bases > 9 Denys Vlasenko 2019-09-22 18:26:05 +02:00
  • d6a8784f27 wget: increase redirections limit David Demelier 2019-08-29 14:05:27 +02:00
  • a1c7a9e976 hush: fix "set -o INVALID" affecting -e flag state Denys Vlasenko 2019-09-05 14:07:14 +02:00
  • 2f3352682e dc: Parse error & fix out of bounds read in xc_program_printString Brian Foley 2019-09-05 10:53:21 +02:00
  • 50ba92128b dc: Fix segfault when executing strings generated using asciify Brian Foley 2019-09-05 10:50:13 +02:00
  • 4699b93244 dc: execute shouldn't pop if stack head is not a string Brian Foley 2019-09-05 10:46:22 +02:00
  • 244c0ebb4f ash: fix set -o to not show "nameless" options Denys Vlasenko 2019-08-02 16:43:36 +02:00
  • c88d3ec458 ash: only catch unexpected exceptions in PS1 expansion Ron Yorston 2019-07-29 09:51:14 +01:00
  • 3ef513e787 shell/ulimit: code shrink Denys Vlasenko 2019-10-21 16:47:09 +02:00
  • fb1103595f gunzip: code shrink by using int-, not short-sized struct member Denys Vlasenko 2019-10-20 19:07:06 +02:00
  • 6572ef6e1e gzip: code shrink Denys Vlasenko 2019-10-19 18:52:41 +02:00
  • c763392458 gzip: code shrink Denys Vlasenko 2019-10-19 18:33:49 +02:00
  • 95867147f5 telnet: add disabled code to emit EC and IP Denys Vlasenko 2019-10-18 16:47:37 +02:00
  • 37a9008f8e brctl: code shrink Denys Vlasenko 2019-10-15 12:31:54 +02:00