]> git.pld-linux.org Git - packages/zsh.git/commitdiff
- segfault fix by Wayne Davison <wayned^users$sourceforge.net>
authorTomasz Pala <gotar@pld-linux.org>
Tue, 29 Jul 2003 12:26:07 +0000 (12:26 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    zsh-zle_misc.patch -> 1.1

zsh-zle_misc.patch [new file with mode: 0644]

diff --git a/zsh-zle_misc.patch b/zsh-zle_misc.patch
new file mode 100644 (file)
index 0000000..dd542a9
--- /dev/null
@@ -0,0 +1,14 @@
+--- Src/Zle/zle_misc.c 27 Feb 2003 11:32:53 -0000      1.8
++++ Src/Zle/zle_misc.c 29 Jul 2003 09:36:12 -0000
+@@ -372,8 +372,10 @@
+     int cc, kctstart = kct;
+     Cutbuffer buf;
+-    if (!(lastcmd & ZLE_YANK) || !kring)
++    if (!(lastcmd & ZLE_YANK) || !kring || !kctbuf) {
++      kctbuf = NULL;
+       return 1;
++    }
+     do {
+       /*
+        * This is supposed to make the yankpop loop
This page took 0.083578 seconds and 4 git commands to generate.