summary refs log tree commit diff
path: root/Src/utils.c
Commit message (Collapse)AuthorAgeFilesLines
* Marc Finet: problems with working directory rationalisation.Peter Stephenson2014-11-131-1/+5
| | | | | | Ensure the length of the directory is kept up to date. Abort following symlinks as soon as there's an error.
* 33320 (cf. PWS 33311): revert 33069, fix lexing of bangchar during completionBarton E. Schaefer2014-10-021-7/+37
| | | | add typtab_flags bits (replaces specialcomma boolean) to record any unusual handling of typtab entries; signal safety; make bangchar non-special during completion lexing of the command line.
* Increase size of xbuf2 in xsymlinks to make gcc FORTIFY_SOURCE=2 happy.Barton E. Schaefer2014-08-171-1/+1
|
* 33012: add an error return value (-1) to xsymlinks()Barton E. Schaefer2014-08-151-7/+8
|
* 32932: add hmkarray() and use to fix leakPeter Stephenson2014-08-011-0/+11
|
* 32918: add %. to ztrftime for use in promptsPeter Stephenson2014-07-301-1/+27
|
* 32737, 32736 (32741), 32735, 32734, 32733, 32732 (32739): Strict compilationNikolas Garofil2014-06-071-3/+5
| | | | | | | | | | | fixes Src/utils.c: properly ifdef declarations Src/zsh_system.h: memmove() should return its dest argument Src/signals.c: define ret before use Src/mem.c: remove unused pointers Src/prototypes.h: use size_t in bcopy() Src/compat.c: fix const declaration inconsistency
* 32716: properly test iconv return values for error conditionsBarton E. Schaefer2014-06-051-4/+3
|
* 36526: when __APPLE__ is defined at compile, normalize Unicode filenames in ↵Barton E. Schaefer2014-06-021-0/+31
| | | | zreaddir()
* 32592: add CORRECT_IGNORE_FILE variableTomoki Sekiyama2014-04-291-1/+10
|
* 32294: prevent buffer overflow when scanning very long directory paths for ↵Barton E. Schaefer2014-01-191-13/+18
| | | | symbolic links
* 32061: Fix "use of uninitialized memory" in metafyBarton E. Schaefer2013-11-271-2/+2
|
* 32023: better interrupt handling at RM_STAR_WAITBarton E. Schaefer2013-11-191-0/+2
|
* 31650: use zlong for mailcheck parameters to ensure rangePeter Stephenson2013-08-111-4/+4
|
* 31648: fix timing errors in mailcheckjoe M2013-08-101-3/+6
|
* 31350: block SIGWINCH nearly all the time, exceptBart Schaefer2013-04-301-0/+7
| | | | | when about to calculate prompts or do synchronous read, so syscalls are not interrupted by window size changes.
* add missing mod_exportPeter Stephenson2012-12-161-1/+1
|
* 30647, 30649: allow underscores in numeric constantsPeter Stephenson2012-09-111-9/+19
|
* 30530,30533: fix problems with COLUMNS or LINES < 1, and related issuesBart Schaefer2012-06-271-1/+1
|
* users/17046: don't count too many elements when splitting quoted parameterPeter Stephenson2012-05-011-1/+1
| | | | substitution on null parameter
* 30413: (q-) parameter flag should quote null stringPeter Stephenson2012-04-161-10/+9
| | | | (q-q) etc. should be treated as errors
* 30351 + 30352: metafy strings on import into zsh variablesPeter Stephenson2012-03-131-0/+22
|
* 30307 plus tweak suggsted by Wayne: use %lld for zlong when long longPeter Stephenson2012-03-051-2/+6
|
* 29940: metafy() added null termination even if buffer was not modifiablePeter Stephenson2011-12-031-2/+2
|
* users/16581: skip correction shortcut based on command table search whenBart Schaefer2011-11-151-9/+13
| | | | | the word is not in command position; on rejected command correction, reset incremental path hashing.
* 29799: swap order of RESET_PROMPT / REFRESH in adjustwinsize().Bart Schaefer2011-10-021-1/+1
|
* users/16253, users/16255: a nulstring should be split like an empty stringPeter Stephenson2011-08-171-0/+4
|
* 29643: set incompfunc to zero when executing hook or trap functionPeter Stephenson2011-08-041-1/+11
|
* 29561: Allow closing of fd's not recorded by the shellPeter Stephenson2011-07-251-15/+13
|
* 29491: remove some variables set but not usedPeter Stephenson2011-06-191-2/+2
|
* 29165: use term.h globally if needed at all.Peter Stephenson2011-05-091-21/+22
|
* 28977: fix copying of uninitialized memory when trying toWayne Davison2011-04-061-0/+2
| | | | spell-correct a really long string.
* users/15864: turn zsh_directory_name into a hookPeter Stephenson2011-03-111-16/+62
|
* unposted: fix argument type for write_loop()Peter Stephenson2011-01-061-2/+4
|
* 28578: fix handling of numeric escapes that expand to "%" in printfBart Schaefer2011-01-061-1/+2
| | | | format strings, so they are not treated as format introducers.
* 28568: buffer overflow examining pathsPeter Stephenson2011-01-051-1/+7
|
* Paul 28538 / me 28540 / couple of unposted casts:Peter Stephenson2010-12-201-2/+2
| | | | use char * for pointer arithmetic rather than void *
* Mikael: 28480: allow PROMPT_EOL_MARK to be an empty stringPeter Stephenson2010-12-061-1/+1
|
* 28559: flush shell output in PROMPT_SP handlingPeter Stephenson2010-11-271-0/+1
|
* Use newer PROMPT_SP behavior for hasxn terms too.Wayne Davison2010-11-261-4/+1
|
* Overwrite PROMPT_SP string if it should remain invisible,Wayne Davison2010-11-251-3/+4
| | | | even with an upcoming newline.
* 28424: new POSIX_STRINGS optionPeter Stephenson2010-11-221-2/+13
|
* 28345: make ${(D)...} return a fully usable command line argumentPeter Stephenson2010-10-151-11/+18
|
* 28073: allow #! scripts to search path if interpreter not foundPeter Stephenson2010-07-151-0/+38
|
* 28025: (D) parameter flagPeter Stephenson2010-06-111-0/+17
|
* 27965, 27966: Improve ${(q)...}: newline appears as $'\n;,Peter Stephenson2010-05-271-9/+30
|
* rationalise widths of non-printing characters to zero.Peter Stephenson2010-03-271-6/+10
|
* 27785: IFS doesn't have a null in it in POSIXPeter Stephenson2010-03-111-2/+4
| | | | unposted: note & needs quoting in :s in glob qualifier
* 27754 plus NEWS change: add "zsystem flock"Peter Stephenson2010-02-241-0/+48
|
* unposted: add debug code to zclose()Peter Stephenson2010-02-221-0/+9
|