1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-22 16:20:23 +02:00
zsh/Src
Peter Stephenson 94014ff65b 41113 (tweaked): Save current line linkage to history ring.
When saving history state save whether the current history line
is linked into the ring and remove it, and restore as appropriate
later.  This avoids surprises where the history ring is freed
and incorrectly frees the current state in curline, which has
a different allocation strategy.

Original patch tweaked to make restoring more logical.
2017-05-18 09:33:08 +01:00
..
Builtins 38513: cast time to long long for printing where possible 2016-05-22 19:00:03 +01:00
Modules unposted: silence warnings on Cygwin 2017-03-10 18:41:25 +09:00
Zle 41090: Replace iswprint() if unicode9 is enabled. 2017-05-12 12:10:13 +09:00
.cvsignore unposted: .cvsignore patchlevel.h 2009-02-18 17:11:16 +00:00
.distfiles 33047: use git to simplify massively source distribution file selection 2014-08-23 21:01:58 +01:00
.exrc Initial revision 1999-04-15 18:05:38 +00:00
.indent.pro Initial revision 1999-10-17 18:01:49 +00:00
builtin.c 41012: Fix premature exit from nested function in EXIT trap. 2017-04-27 18:56:18 +01:00
compat.c 41090: Replace iswprint() if unicode9 is enabled. 2017-05-12 12:10:13 +09:00
cond.c 40940: untokenize names of condition features before attempting to look up the definition from a module. 2017-04-07 22:35:00 -07:00
context.c 35642: signal queueing in zcontext_save_partial() 2015-06-27 15:53:21 -07:00
exec.c 41043: Close pipes in shell when disowning background job. 2017-05-03 11:30:15 +01:00
glob.c 40891: fix more zero-length matches. 2017-03-23 21:01:59 +00:00
hashnameddir.c 29195: Separate nameddir hash to avoid clash of 2011-05-09 10:38:02 +00:00
hashtable.c 41113 (tweaked): Save current line linkage to history ring. 2017-05-18 09:33:08 +01:00
hashtable.h 37493: readonly + POSIX_BUILTINS == typeset -gr 2016-01-02 12:40:31 -08:00
hist.c 41113 (tweaked): Save current line linkage to history ring. 2017-05-18 09:33:08 +01:00
init.c 40977: "emulate" disallows "--help" and "--version" 2017-04-15 21:16:11 -07:00
input.c 40306 with doc tweaks: Change behaviour expanding alias in () function definition. 2017-01-10 19:14:26 +00:00
jobs.c 39359: Fix remaining race with orphaned subjob. 2016-09-16 17:23:12 +01:00
lex.c 40995: Don't disable alias expansion when finding command substitution limits 2017-04-23 17:06:26 +01:00
linklist.c 41008: Handle expansions for precommand modifiers 2017-04-26 09:44:38 +01:00
loop.c 40453: signal handler safety for callers of patcompile(PAT_STATIC), which is not re-entrant. 2017-01-29 08:30:14 -08:00
main.c Peter Castro: Cygwin improvements for dynamic libraries, text/binary, paths 2004-04-06 09:25:17 +00:00
Makefile.in gi1242+zsh@gmail.com: 28594: 2011-01-09 16:57:01 +00:00
Makemod.in.in 29214: use -I rather than explicit path to find headers 2011-05-10 16:40:27 +00:00
makepro.awk 22585: fix zsh.exports 2006-08-04 11:42:20 +00:00
math.c 40760: Always tokenize unquoted - to Dash. 2017-03-07 10:43:58 +00:00
mem.c 39874/0002 plus size=0 handling: zshcalloc: Remove code duplication. No functional change. 2016-11-11 04:37:59 +00:00
mkbltnmlst.sh 27648, 267650/1, unposted README change: 2010-02-03 18:34:32 +00:00
mkmakemod.sh 36663: replace obsolete "autobins" commentary with "autofeatures" 2015-09-27 12:43:25 -07:00
modentry.c 23571 + unposted; AIX compilation fixes 2007-06-19 20:21:52 +00:00
module.c 39545: Add some missing unqueue_signals(). 2016-10-03 13:43:20 +01:00
options.c 40453: signal handler safety for callers of patcompile(PAT_STATIC), which is not re-entrant. 2017-01-29 08:30:14 -08:00
params.c 40990: Fix crash with bogus path in sh emaulation. 2017-04-21 18:07:42 +01:00
parse.c 40173: Off-by-one error checking for {varid}. 2017-05-08 18:00:55 +01:00
pattern.c 41090: Replace iswprint() if unicode9 is enabled. 2017-05-12 12:10:13 +09:00
prompt.c 41078: Empty psvar could cause bad dereference in prompt expansion 2017-05-09 09:46:23 +01:00
prototypes.h 32737, 32736 (32741), 32735, 32734, 32733, 32732 (32739): Strict compilation 2014-06-07 13:48:40 -07:00
signals.c 41012: Fix premature exit from nested function in EXIT trap. 2017-04-27 18:56:18 +01:00
signals.h 39548: DEBUG for queueing_enabled 2016-10-03 09:37:10 -07:00
signames1.awk Initial revision 1999-04-15 18:05:38 +00:00
signames2.awk 20566++: prefer SIGCHLD to SIGCLD and SIGPOLL to SIGIO 2004-11-19 09:57:22 +00:00
sort.c 33818: fix types passed to sizeof detected by coverity as being wrong 2014-11-30 23:19:55 +01:00
string.c 41096: Don't assume null termination copying string. 2017-05-11 17:33:30 +01:00
subst.c 40929 (replaces 40598): paramsubst() should always return scalar when PREFORK_SINGLE was passed in from prefork() 2017-04-02 14:43:27 -07:00
text.c 39292: Distinguish "=" and "==" tests in output. 2016-09-13 09:42:24 +01:00
utils.c 41090: Replace iswprint() if unicode9 is enabled. 2017-05-12 12:10:13 +09:00
watch.c 40604: revert to the old method if getutent() is not available 2017-02-23 00:34:45 +09:00
wcwidth9.h 41090: Replace iswprint() if unicode9 is enabled. 2017-05-12 12:10:13 +09:00
zsh.h 41113 (tweaked): Save current line linkage to history ring. 2017-05-18 09:33:08 +01:00
zsh.ico pws/Andrej: 12594, 12661: Windows resources and icon 2000-08-16 13:23:37 +00:00
zsh.mdd users/21256 + workers/37965: New math functions min(), max(), sum(), provided by a new autoloadable function 'zmathfunc'. 2016-02-16 10:52:27 +00:00
zsh.rc pws/Andrej: 12594, 12661: Windows resources and icon 2000-08-16 13:23:37 +00:00
zsh_system.h 39728: define _GNU_SOURCE on Cygwin 2016-11-07 11:36:17 +09:00
ztype.h 41090: Replace iswprint() if unicode9 is enabled. 2017-05-12 12:10:13 +09:00