Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 48202 + 48366: Fix handling of NUL bytes in zexpandtabs multibyte version | Mikael Magnusson | 2021-04-01 | 1 | -1/+4 |
| | |||||
* | 47745: Fix [:IDENT:] vs posixidentifiers | Stephane Chazelas | 2021-03-23 | 1 | -1/+1 |
| | | | | | wcsitype(c, IIDENT) should return false for non-ASCII characters when the POSIX_IDENTIFIERS option is on, not the other way round. | ||||
* | 45915: fix handling of hyphens in spckword() | Bart Schaefer | 2020-05-30 | 1 | -5/+11 |
| | |||||
* | 45730: _arguments: Add the -0 flag, which makes $opt_args be populated sanely. | Daniel Shahaf | 2020-05-03 | 1 | -1/+14 |
| | | | | Also, write/extend docstrings for sepjoin() and zjoin(). | ||||
* | 45708: zsh/system: Enable sub-second timeout in zsystem flock | Cedric Ware | 2020-04-20 | 1 | -0/+36 |
| | |||||
* | 45583/0008: Extend tests to prove that what remains of xsymlinks() handles ↵ | Daniel Shahaf | 2020-03-25 | 1 | -2/+0 |
| | | | | symlink loops gracefully. | ||||
* | 45583/0007: Remove code that is now unreachable. | Daniel Shahaf | 2020-03-25 | 1 | -17/+4 |
| | |||||
* | 45583/0006: Don't use xsymlinks() in 'whence -s'. | Daniel Shahaf | 2020-03-25 | 1 | -4/+14 |
| | |||||
* | 45583/0004: Fix segfault on resolving symlink loops | Daniel Shahaf | 2020-03-25 | 1 | -3/+3 |
| | |||||
* | 45563: %z can be used for zlong in warnings and errors | Peter Stephenson | 2020-03-22 | 1 | -0/+9 |
| | |||||
* | 45536: fix handling of 8bit character under C-locale | Jun-ichi Takimoto | 2020-03-17 | 1 | -2/+2 |
| | | | | correctly escape unprintable 8bit character by using \M- | ||||
* | 45487: Missing mod_export declarations for AIX | Peter Stephenson | 2020-02-24 | 1 | -1/+1 |
| | |||||
* | unposted: zerrmsg(): Fix macro guard missed in previous commit | dana | 2019-12-26 | 1 | -2/+0 |
| | |||||
* | internal: Allow %L in zerrmsg() in non-debug builds, too. | Daniel Shahaf | 2019-12-26 | 1 | -2/+0 |
| | | | | This will let error messages include long integers. | ||||
* | 45064: Fix the mktemp() warning, in debug builds only. | Daniel Shahaf | 2019-12-18 | 1 | -0/+25 |
| | | | | | | | | | | | | On Linux, linking to mktemp() generates the following warning: . utils.o: In function `gettempname': ./Src/utils.c:2229: warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' The warning cannot be disabled. Work around that by using mkstemp() instead, and massage its output so it behaves like mktemp(). See the new comment for further details. | ||||
* | 44714: Take account of CDABLE_VARS while checking spelling | Jun-ichi Takimoto | 2019-08-29 | 1 | -0/+2 |
| | |||||
* | 44307: allow for atoi() returning a negative number | Oliver Kiddle | 2019-05-20 | 1 | -1/+1 |
| | |||||
* | unposted (per 43938): Avoid segfault when unmetafying empty string | dana | 2018-12-30 | 1 | -1/+1 |
| | |||||
* | 43953: Fix rounding/truncation error in %. time-format specifier | dana | 2018-12-29 | 1 | -6/+15 |
| | | | | | | | Also fixes an issue where %. couldn't be used more than once in a format string without strange results Tweaked very slightly per workers/43954 | ||||
* | 43790: failed mailstat could leak memory | Kamil Dudka | 2018-11-09 | 1 | -3/+13 |
| | |||||
* | unposted: internals: Document sepjoin(). | Daniel Shahaf | 2018-10-14 | 1 | -0/+8 |
| | |||||
* | 43464: Another attachtty() fix. | Peter Stephenson | 2018-09-16 | 1 | -0/+4 |
| | | | | | | | | | If list_pipe_job triggered more than once we need to know the most recent process group leader, so record that both if the attach happened in the main shell on in entersubsh(). Also don't pass back proocess group for ESUB_ASYNC subshells. | ||||
* | 43227: fix memory leaks in term{cap,info}.c | Jun-ichi Takimoto | 2018-08-01 | 1 | -0/+37 |
| | |||||
* | 43075: Support nanosecond-precision time formatting | dana | 2018-06-20 | 1 | -8/+14 |
| | | | | | | | | * Teach ztrftime() %9. and %N for nanoseconds * Update prompt expansion to pass sub-second times for time formatting * Update zsh/stat to pass sub-second times for atime/mtime/ctime Patch heavily based on Oliver's earlier work @ workers/24059 | ||||
* | 42650: fix 42156 for zero-sized terminals | Barton E. Schaefer | 2018-04-15 | 1 | -5/+7 |
| | | | | Also fix harmless no-op typo from hand-applying 42636 for previous commit. | ||||
* | 42636: fix GLOB_DOTS for !(RM_STAR_SILENT) | Barton E. Schaefer | 2018-04-15 | 1 | -4/+5 |
| | | | | Also fix paste-o in older log entry | ||||
* | 42607, CVE-2018-1100: check bounds on buffer in mail checking | Oliver Kiddle | 2018-04-07 | 1 | -3/+5 |
| | |||||
* | 42595: remove dead code flagged by coverity | Oliver Kiddle | 2018-04-07 | 1 | -3/+1 |
| | |||||
* | 42560: silence sign-compare compiler warnings | Oliver Kiddle | 2018-03-30 | 1 | -3/+3 |
| | |||||
* | 42539: prevent overflow of PATH_MAX-sized buffer in spelling correction | Oliver Kiddle | 2018-03-28 | 1 | -5/+9 |
| | |||||
* | 42538: Temporarily set umask for here document. | Martijn Dekker | 2018-03-27 | 1 | -0/+4 |
| | | | | Done while signals are queued. | ||||
* | 42480: optimize $#var for single-byte character sets | Barton E. Schaefer | 2018-03-25 | 1 | -1/+1 |
| | |||||
* | 42518, CVE-2018-1071: check bounds when copying path in hashcmd() | Oliver Kiddle | 2018-03-24 | 1 | -3/+3 |
| | |||||
* | 42332: Special case unsigned printf formats. | Peter Stephenson | 2018-01-31 | 1 | -0/+61 |
| | | | | | For constants we can avoid a conversion to signed by examining the expression before passing to math eval. | ||||
* | 42156: new CHECK_RUNNING_JOBS option demanded by bash groupies | Peter Stephenson | 2017-12-22 | 1 | -2/+2 |
| | | | | | | | Also new job options. Also suppress debug error if rows or columns are reported as zero as this is normal without a physical terminal. | ||||
* | unposted (cf. 41672): checkrmall: Record the 41672 bug in a TODO. | Daniel Shahaf | 2017-09-21 | 1 | -0/+3 |
| | |||||
* | unposted (cf. 41707): internal: Document the count==0 case of checkrmall(). | Daniel Shahaf | 2017-09-21 | 1 | -1/+3 |
| | |||||
* | unposted: internal: Document zreaddir(). | Daniel Shahaf | 2017-09-11 | 1 | -0/+10 |
| | |||||
* | Revert "41499 (with one further tweak): POSIX_STRINGS behaviour." | Peter Stephenson | 2017-08-08 | 1 | -18/+2 |
| | | | | | | | This reverts commit 2eacbef91913fe967335812900d43cf2edfa54d9. Conflicts: ChangeLog | ||||
* | 41499 (with one further tweak): POSIX_STRINGS behaviour. | Peter Stephenson | 2017-08-07 | 1 | -2/+18 |
| | | | | | Ignore a terminating delimiter when splitting as separators despite being called separators are terminators. | ||||
* | 41484: Make ${(q+)...} quote backsleshes. | Martijn Dekker | 2017-08-03 | 1 | -1/+5 |
| | |||||
* | 22760: fix partial string length reports with NO_MULTIBYTE | Peter Stephenson | 2017-07-02 | 1 | -1/+1 |
| | |||||
* | 41090: Replace iswprint() if unicode9 is enabled. | Jun-ichi Takimoto | 2017-05-12 | 1 | -2/+2 |
| | | | | If wcwidth() or iswprint() is broken, force enable unicode9. | ||||
* | 40181: Fix buffer overrun in xsymlinks. | Peter Stephenson | 2017-05-09 | 1 | -3/+11 |
| | | | | | There was no check for copying to the internal xbuf2 for a preliminary test. | ||||
* | 40994: unmeta_one() need not count Meta | Jun-ichi Takimoto | 2017-04-23 | 1 | -8/+1 |
| | |||||
* | 40935: User names need metafying. | Orlov Sergey | 2017-04-10 | 1 | -3/+3 |
| | | | | | On some systems they can contain 8-bit characters and on all systems this is logically correct anyway. | ||||
* | 40763: count wide characters and Cmatcher pointers more sanely in ↵ | Barton E. Schaefer | 2017-03-08 | 1 | -0/+42 |
| | | | | | | | cfp_matcher_pats(), and count characters in pattern_match() the same way to stay in sync Might not fix wide-char matching in completion matcher-lists but should avoid wild pointer crash | ||||
* | 40760: Always tokenize unquoted - to Dash. | Peter Stephenson | 2017-03-07 | 1 | -3/+7 |
| | | | | | | This fixes use of pattern match character ranges in unusual contexts. Attempt to detect a tokenized - in cases where we don't care. | ||||
* | 39982: $SPROMPT: Don't accept a spelling correction at space/tab. | Daniel Shahaf | 2016-11-24 | 1 | -4/+4 |
| | | | | | The patch also downscopes a couple of local variables, with no functional change. | ||||
* | 39958: Add extra byte to PATH_MAX allocations. | Peter Stephenson | 2016-11-17 | 1 | -6/+6 |
| | | | | | This ensures we've got enough space for a null, although this isn't always needed. |