about summary refs log tree commit diff
path: root/Src
Commit message (Collapse)AuthorAgeFilesLines
* 50192: use set{u,g}id() for dropping privilege on NetBSDJun-ichi Takimoto2022-05-111-0/+10
|
* 50150: Filenames need unmetafy for printingBart Schaefer2022-04-301-5/+7
|
* 50149: Remove all remaining =(...) files at shell exitBart Schaefer2022-04-302-0/+13
|
* 50136: Fix =(nosuchcommand) race/deadlock first reported in workers/42609Bart Schaefer2022-04-291-4/+0
|
* 50134: Tweak process group handling to prevent unkillable pipelinesBart Schaefer2022-04-291-1/+4
| | | | | | In some cases the process group leader of the forked-left side of a pipe needs to be set to the pipe process PID rather than to the group leader PID returned by entersubsh().
* 50133: use read-ahead and lseek-rewind for efficient line-buffered inputBart Schaefer2022-04-281-1/+23
|
* 50101: sysread -o with param adjusted to match documentationBart Schaefer2022-04-281-4/+0
|
* 50162: Fix multios with current-shell "exec" (aka nullexec).Bart Schaefer2022-04-281-0/+4
|
* 50049: care with signed charactersPeter Stephenson2022-04-252-2/+2
| | | | | Some signed-to-unsigned casts needed for a couple of cases of pointers used as indices.
* 50081: reset global mbstate_t variables when LC_CTYPE changesJun-ichi Takimoto2022-04-202-1/+29
|
* 50080: add missing STOUC() in casemodify()Jun-ichi Takimoto2022-04-201-2/+2
|
* 50068: 'exit' in trap causes calling function to returnBart Schaefer2022-04-141-0/+2
|
* 50042: Another fix for 49915Mikael Magnusson2022-04-111-1/+1
| | | | If the last element in the list is a duplicate, we would walk off the end
* 49994: Single-byte equivalence of users/22601 and workers/40891Bart Schaefer2022-04-051-2/+2
|
* 49989: Single byte versions of nice quoting.Peter Stephenson2022-04-053-40/+142
| | | | | Align interfaces for "nice" printing of characters with those for multibyte to make more available in single-byte compilation.
* 49992: further unify single- and multi-byte implementations of nicechar()Bart Schaefer2022-04-041-62/+0
|
* 49991: single-byte brace expansion handles $'\0' and control character ↵Bart Schaefer2022-04-042-12/+14
| | | | output aligns with multibyte
* 49990: casemodify() avoids metafying characters that it otherwise did not touchBart Schaefer2022-04-041-5/+14
|
* unposted: Fix typo from 49955Bart Schaefer2022-04-041-1/+1
|
* 49955: Src/glob.c: fix bad free in incremental-pattern-search matchingBart Schaefer2022-04-042-3/+12
|
* 49957: Brown paper bag for 49915Mikael Magnusson2022-04-031-2/+2
| | | | | | The code would crash when n == 0. There's not really any point doing any of this when n is 0 so just skip everything. It also tried to NULL terminate a list a little to eagerly.
* 49933: Add nonblock to sysopenMatthew Martin2022-03-311-1/+4
|
* 49926: remove unused variable from 49915Mikael Magnusson2022-03-301-1/+1
|
* 49906 (Bart), 49911: Fixes to querying jobs in subshell.Peter Stephenson2022-03-302-0/+21
| | | | | | | | Don't attempt to query invalid job off end of table, resulting in crashes from $jobtstates. If background task started in subshell, look at tatsks within subshell instead of main shell. Document and add test.
* 49820: Fix a crash when completing with combination of -Q and bracesMikael Magnusson2022-03-301-3/+4
| | | | | | | | | minimal reproducer .zshrc: zstyle ':completion:*' completer _oldlist _complete setopt nolistambiguous autoload compinit; compinit compdef _foo foo;_foo() { compadd -Q -- stash@{{0,1}} }
* 49813: <<<: Document newline behavior and fix optimizationMikael Magnusson2022-03-301-1/+3
| | | | | The =(<<<foo) optimization forgot to add a newline, but =(cat<<<foo) always did, make the behavior consistent, and document it.
* 49870: Fix NULL reference in match code moreMikael Magnusson2022-03-301-2/+6
| | | | | | | | | | | This reverts "49658: Fix NULL reference in match code." and adds a check inside the block, as well as a failsafe check at the end. The above commit (49658) causes a crash due to ll being calculated as 0 which leads to rr being an invalid pointer. Only adding a check for when ll is 0 just leads to bck-i-search pattern not working at all (the final hunk). Restoring the condition and adding an explicit NULL check for replstr seems to make matters work as intended.
* 49915: Efficient dedup for unsorted completionsMikael Magnusson2022-03-302-20/+35
|
* 49893: Fix comments for UNIQCON/ALLMikael Magnusson2022-03-302-4/+10
|
* 49853 + 49882/49883: make "${arr[*]:off}" compatible with ksh/bashJun-ichi Takimoto2022-03-291-3/+18
|
* 49890: Avoid scanning unallocated memory in saved command line.Peter Stephenson2022-03-281-1/+1
|
* 49792: Non-interative shell input is line buffered.Peter Stephenson2022-03-031-7/+14
|
* 49783: Consistently use old job table in parameter modulePeter Stephenson2022-03-012-48/+82
|
* unposted: Fix some typos and markup.Daniel Shahaf2022-02-223-3/+6
|
* security/41: Don't perform PROMPT_SUBST evaluation on %F/%K argumentsOliver Kiddle2022-02-121-0/+10
| | | | | | Mitigates CVE-2021-45444 (cherry picked from commit c187154f47697cdbf822c2f9d714d570ed4a0fd1)
* 49694 + doc: Allow using empty STTY= to freeze tty for a single commandMikael Magnusson2022-01-301-2/+4
| | | | | Previously, doing this would just run stty with no arguments, which normally causes it to print some terminal settings to stdout.
* 38150: fix off-by-one error in matcher spec parsingm0viefreak2021-12-241-1/+1
|
* 49658: Fix NULL reference in match code.Peter Stephenson2021-12-211-1/+1
| | | | | | A test when acquiring the replacement pattern match in the globbing code erroneously allowed the use of a NULL pointer. This appears to be an unnecessary test case added alongside other surgery back in 2008.
* 49653: fix array indexing issue introduced with 49518 due to using decimal ↵Oliver Kiddle2021-12-161-3/+5
| | | | | | | rather than hex 20 Also avoid comparing the current word against all options when the word doesn't start with - or +.
* 49518: fix exclusions for mixed - and + stacked optionsOliver Kiddle2021-12-141-10/+29
|
* 49646: allow colors in WATCHFMT with %F/%KOliver Kiddle2021-12-132-4/+40
|
* 49612: avoid startup error with clashing non-local module parameter nameOliver Kiddle2021-11-301-1/+1
|
* 49611 based on 49590 (Martijn Dekker): disable Inf and NaN in math ↵Oliver Kiddle2021-11-301-1/+1
| | | | expressions for sh emulation
* 49606: remove old NIS-specific code for retrieving user dataOliver Kiddle2021-11-282-124/+1
|
* 49602: only set LOGCHECK from the watch moduleOliver Kiddle2021-11-281-2/+1
|
* 49601: don't create ambiguous history file entries for lines ending with a ↵Oliver Kiddle2021-11-281-8/+11
| | | | backslash
* 49586: fix :a and :A modifiers (with PWD="/") on Cygwin⁩Jun-ichi Takimoto2021-11-221-1/+5
|
* 49563: fix build problem of watch module on CygwinJun-ichi Takimoto2021-11-151-2/+6
|
* github #82: Fix typosDimitris Apostolou2021-11-123-7/+7
|
* 49561: add zformat -F option, similar to -f but ternary expressions check ↵Oliver Kiddle2021-11-121-16/+32
| | | | for existence instead of doing math evaluation