This covers the following changes:
users/24971: ${(-)var} sorts on signed integers
47704: POSIX export and readonly ignore "-p" when parameter names also appear
47913: implement CASE_PATHS option to make NO_CASE_GLOB more sensible
48073: Add fc -s as POSIX way of rerunning command without starting editor
49307 with doc update: POSIX_TRAPS fix.
49528: allow multiple -D options to compadd
49534, 49539: separate watch/log functionality out into a module
49561: add zformat -F option, similar to -f but ternary expressions check for
existence instead of doing math evaluation
49597: add a helper for completing numbers with unit suffixes and separate out
defaults, ranges and units in completion descriptions
49611 based on 49590 (Martijn Dekker): disable Inf and NaN in math expressions
for sh emulation
49646: allow colors in WATCHFMT with %F/%K
49694 + doc: Allow using empty STTY= to freeze tty for a single command
49853 + 49882/49883: make "${arr[*]:off}" compatible with ksh/bash
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.
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.
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.