summaryrefslogtreecommitdiff
path: root/Src
AgeCommit message (Collapse)AuthorFilesLines
2022-10-23Unposted: Fix typo in commentBart Schaefer1-1/+1
2022-10-1750736: silence use-after-free warning (gcc-12.2)Wesley Schwengle1-4/+4
2022-09-2750668: treat 8bit chars correctly when multibyte is unsetJun-ichi Takimoto1-1/+1
The problem was found in character range, but may have existed in other occasions
2022-09-2650658 + test: Enable to switch between C/UTF-8 locales in PCREJun-ichi Takimoto1-8/+2
2022-07-2450418: use setenv(3)/getenv(3) on newer macOSJun-ichi Takimoto1-1/+2
2022-06-2150379/50380: fix off-by-one side-effect of workers/49906 that broke $(jobs -l)Bart Schaefer1-1/+1
2022-06-2150368: adjust ztie'd bitflags so local variables cannot mess with databaseBart Schaefer1-3/+3
2022-06-1150355: documentation and return status consistency in zsh/system moduleBart Schaefer1-2/+17
2022-06-0950363: avoid use of heap memory that depends on parameter scopingBart Schaefer1-1/+11
2022-06-0950359: fix bad sticky-emulation in "functions -c"Matthew Martin1-1/+1
2022-06-0950351: "functions -c" can set signal trapsBart Schaefer1-1/+16
2022-06-0950342: fix test added by 50306Jun-ichi Takimoto1-0/+2
2022-06-0850341: disallow here-document markers containing newlineBart Schaefer1-0/+3
2022-06-07Tweaks to MULTI_FUNC_DEFPeter Stephenson1-2/+10
Output multiple function definitions using "function" form. Note exceptions to errors with NO_MULTI_FUNC_DEF
2022-06-0350325: revert 38150 and fix in calling function cfp_matcher_range() insteadBart Schaefer2-2/+2
2022-06-0350306: fix wait for child that was stopped/continuedJun-ichi Takimoto2-8/+22
do not call addbgstatus() when child is stopped/continued
2022-05-1150192: use set{u,g}id() for dropping privilege on NetBSDJun-ichi Takimoto1-0/+10
2022-04-3050150: Filenames need unmetafy for printingBart Schaefer1-5/+7
2022-04-3050149: Remove all remaining =(...) files at shell exitBart Schaefer2-0/+13
2022-04-2950136: Fix =(nosuchcommand) race/deadlock first reported in workers/42609Bart Schaefer1-4/+0
2022-04-2950134: Tweak process group handling to prevent unkillable pipelinesBart Schaefer1-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().
2022-04-2850133: use read-ahead and lseek-rewind for efficient line-buffered inputBart Schaefer1-1/+23
2022-04-2850101: sysread -o with param adjusted to match documentationBart Schaefer1-4/+0
2022-04-2850162: Fix multios with current-shell "exec" (aka nullexec).Bart Schaefer1-0/+4
2022-04-2550049: care with signed charactersPeter Stephenson2-2/+2
Some signed-to-unsigned casts needed for a couple of cases of pointers used as indices.
2022-04-2050081: reset global mbstate_t variables when LC_CTYPE changesJun-ichi Takimoto2-1/+29
2022-04-2050080: add missing STOUC() in casemodify()Jun-ichi Takimoto1-2/+2
2022-04-1450068: 'exit' in trap causes calling function to returnBart Schaefer1-0/+2
2022-04-1150042: Another fix for 49915Mikael Magnusson1-1/+1
If the last element in the list is a duplicate, we would walk off the end
2022-04-0549994: Single-byte equivalence of users/22601 and workers/40891Bart Schaefer1-2/+2
2022-04-0549989: Single byte versions of nice quoting.Peter Stephenson3-40/+142
Align interfaces for "nice" printing of characters with those for multibyte to make more available in single-byte compilation.
2022-04-0449992: further unify single- and multi-byte implementations of nicechar()Bart Schaefer1-62/+0
2022-04-0449991: single-byte brace expansion handles $'\0' and control character ↵Bart Schaefer2-12/+14
output aligns with multibyte
2022-04-0449990: casemodify() avoids metafying characters that it otherwise did not touchBart Schaefer1-5/+14
2022-04-04unposted: Fix typo from 49955Bart Schaefer1-1/+1
2022-04-0449955: Src/glob.c: fix bad free in incremental-pattern-search matchingBart Schaefer2-3/+12
2022-04-0349957: Brown paper bag for 49915Mikael Magnusson1-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.
2022-03-3149933: Add nonblock to sysopenMatthew Martin1-1/+4
2022-03-3049926: remove unused variable from 49915Mikael Magnusson1-1/+1
2022-03-3049906 (Bart), 49911: Fixes to querying jobs in subshell.Peter Stephenson2-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.
2022-03-3049820: Fix a crash when completing with combination of -Q and bracesMikael Magnusson1-3/+4
minimal reproducer .zshrc: zstyle ':completion:*' completer _oldlist _complete setopt nolistambiguous autoload compinit; compinit compdef _foo foo;_foo() { compadd -Q -- stash@{{0,1}} }
2022-03-3049813: <<<: Document newline behavior and fix optimizationMikael Magnusson1-1/+3
The =(<<<foo) optimization forgot to add a newline, but =(cat<<<foo) always did, make the behavior consistent, and document it.
2022-03-3049870: Fix NULL reference in match code moreMikael Magnusson1-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.
2022-03-3049915: Efficient dedup for unsorted completionsMikael Magnusson2-20/+35
2022-03-3049893: Fix comments for UNIQCON/ALLMikael Magnusson2-4/+10
2022-03-2949853 + 49882/49883: make "${arr[*]:off}" compatible with ksh/bashJun-ichi Takimoto1-3/+18
2022-03-2849890: Avoid scanning unallocated memory in saved command line.Peter Stephenson1-1/+1
2022-03-0349792: Non-interative shell input is line buffered.Peter Stephenson1-7/+14
2022-03-0149783: Consistently use old job table in parameter modulePeter Stephenson2-48/+82
2022-02-22unposted: Fix some typos and markup.Daniel Shahaf3-3/+6