summary refs log tree commit diff
path: root/Src
Commit message (Collapse)AuthorAgeFilesLines
* 42519, CVE-2018-1083: check bounds on PATH_MAX-sized buffer used for file ↵Oliver Kiddle2018-03-241-0/+6
| | | | completion candidates
* 42518, CVE-2018-1071: check bounds when copying path in hashcmd()Oliver Kiddle2018-03-242-4/+4
|
* unposted: add 'static' to a file-local variableJun-ichi Takimoto2018-03-241-1/+1
|
* 42501: avoid out of bound pointer (as 42487)Jun-ichi Takimoto2018-03-243-8/+7
|
* 42487: Fix pointer problems in compctl.Peter Stephenson2018-03-211-32/+32
| | | | | Pointing off the front of a string caused warnings with gcc 7.3.0 and is somewhat murky C anyway.
* 42469: necessary repairs to 42465 found by "make check"Stephane Chazelas2018-03-182-4/+3
|
* 42465: Pass up error status from readoutput().Stephane Chazelas2018-03-152-4/+15
| | | | This improves the consistency of error reporting from $(...) constructs.
* 42453: Fix race in look up of status for wait.Peter Stephenson2018-03-121-2/+5
| | | | | | Background jobs that had just exited could still be in the table when the process had already finished and the status was recorded, causing the wrong status to be reported.
* 42365: Use .zwc file if timestamp identical to source.Martijn Dekker2018-03-051-4/+4
| | | | This can happen if the files are bundled together.
* 42411: Assume current C librarires handle free(NULL)Taylor West2018-03-041-4/+2
|
* 23180: Fix expand-or-complete with ~[...].Peter Stephenson2018-02-261-0/+9
| | | | The square brackets shouldn't be treated as wildcards.
* 42401: workaround for gcc -foptimize-strlen oddit.Peter Stephenson2018-02-261-1/+7
| | | | Use realloc(NULL, ...) instead of malloc in zsh-mem calloc().
* 42362: protect REPORTTIME logic from bad statusPeter Stephenson2018-02-171-0/+3
|
* 42355: Fix use of backslashes on here doc input.Peter Stephenson2018-02-121-1/+10
| | | | | Handling of white space in particular was confusing and inconsistent with other shells.
* 42332: Special case unsigned printf formats.Peter Stephenson2018-01-312-1/+65
| | | | | For constants we can avoid a conversion to signed by examining the expression before passing to math eval.
* 42322 (tweaked): Fix interactive_comments history with just a coment.Peter Stephenson2018-01-242-1/+13
| | | | | Don't discard the line from the history merely because it produced no synactic words.
* 42313: avoid null-pointer deref when using ${(PA)...} on an empty array resultJoey Pabalinas2018-01-231-1/+1
|
* 42243: Free stuff properly in zsh/pcre moduleMikael Magnusson2018-01-201-1/+34
|
* 42285: off by one fix in multiple promptsWarepire2018-01-161-1/+1
|
* 42136: empty string check in %~ / %C prompt expansionsBarton E. Schaefer2018-01-141-1/+1
|
* 42043: ZSH_DEBUG_CMD should not WARN_CREATE_GLOBALBarton E. Schaefer2018-01-141-1/+3
|
* 42245: Abort last word on interactve comment.Peter Stephenson2018-01-083-1/+24
| | | | Last recorded word should be the previous one.
* 42164: fix digits in format escapes in completion listingsdana2018-01-041-3/+3
|
* Avoid crash copying empty hash table.Stephane Chazelas2018-01-041-4/+7
| | | | Visible with typeset -p.
* 42188: Close flock descriptor in failure casesSebastian Gniazdowski2018-01-041-3/+11
|
* 42156: new CHECK_RUNNING_JOBS option demanded by bash groupiesPeter Stephenson2017-12-224-3/+6
| | | | | | | Also new job options. Also suppress debug error if rows or columns are reported as zero as this is normal without a physical terminal.
* 33395: Improvments for function managment.Peter Stephenson2017-12-222-1/+7
| | | | | | | | Functions defined inside other fucntions needs file line number adding. Particularly useful for anonymous fucntions. Add flag to indicate a function is anonymous. Done up to now by comparing the name to a pointer but this is more consistent.
* dana: 42145: Fix additional completion cases with option arguments.dana2017-12-201-1/+3
|
* 42146: type -w += global aliasesDaniel Shahaf2017-12-201-0/+2
| | | | Follow-up to 36403, which did the same for suffix aliases.
* users/13148 (and workers/42060): Abort the command line when replyingDaniel Shahaf2017-12-201-6/+11
| | | | | | "[n] No" to the RM_STAR_SILENT prompt. Patch by Stephane, rebased by Mikael.
* 42412: fix a bug in 42116Jun-ichi Takimoto2017-12-181-4/+4
| | | | | Also fix a few widgets which were calling wrong function when negative numeric argument was given.
* 42116: multibyte support for ZLE vi-mode word motionJun-ichi Takimoto2017-12-183-77/+45
|
* 42123 (tweaked): take account of Dash in function names.Peter Stephenson2017-12-151-2/+20
| | | | | | Needed when comparing word code function name with autoload request. Add test.
* add millisecond and microsecond options to TIMEFMT variabledana2017-12-141-0/+34
|
* 42110: Fix redirections between variable assignments at start of linePeter Stephenson2017-12-121-0/+4
|
* 42063: getopts errors now report "+" in front of option where appropriatedana2017-12-011-2/+3
|
* 42031 + 42048: Make [[ -o invalidoption ]] a normal(ish) false value, rather ↵Daniel Shahaf2017-11-241-7/+13
| | | | than a syntax error.
* stat() for glob qualifiers lost information in corner caseDima Kogan2017-11-201-1/+1
|
* 41983: fix exclusion of long options with (-) on a normal argumentOliver Kiddle2017-11-041-1/+1
|
* 41866: No error unsetting nonexistent function for POSIXBUILTINSMartijn Dekker2017-11-022-1/+6
|
* 41902: ${(z)...} continues parsing on unmatched quote when CSH_JUNKIE_QUOTES ↵Barton E. Schaefer2017-10-171-4/+10
| | | | | | is set Tests for 41902 and 41873
* 41873: temporarily disable effects of ${(Z:n:)...} for parsing $(...) within ↵Barton E. Schaefer2017-10-131-1/+5
| | | | | | the parameter value Also fix minor typo in commit b3fa5c52 ChangeLog.
* 41877: Separate out SH_FILE_EXPANSION loop from parameter substitution.Peter Stephenson2017-10-131-16/+23
| | | | | Parameter substitution can add nodes that need to be rescanned by it, but not by file expansion, so the two don't play well together.
* 41835: handle multibyte characters with compset -p and -sOliver Kiddle2017-10-111-11/+37
|
* 41828, 41830: skip SHFILEEXPANSION for new nodes added by stringsubst() in ↵Barton E. Schaefer2017-10-081-2/+17
| | | | prefork()
* 41824: fix to not complete rest args from an _arguments set alongside the ↵Oliver Kiddle2017-10-071-16/+16
| | | | argument to and option in a separate set
* 41802 (minor tweaks): use heap during shell function call.Peter Stephenson2017-10-042-70/+87
| | | | | | Replaces stack for more efficient memory management. Also fix debug message when FUNCNEST is increased.
* 41787 (plus minor tweaks): use $FUNCSTACK for function nesting depth.Peter Stephenson2017-10-022-11/+20
| | | | Initialised from existing configuration value.
* Add typeset -p1, like typeset -p with newlinesPeter Stephenson2017-10-014-28/+67
|
* 41789: Don't save fd if -1.Peter Stephenson2017-09-291-8/+11
| | | | | | We try to move an fd which isn't opend but it will feel. This needs handling specially in the new code for marking saved fd's.