Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: zsh-3.0.5-test1



On Sep 20,  3:53am, Zoltan Hidvegi wrote:
} Subject: zsh-3.0.5-test1
}
} I've put a zsh-3.0.5 test release to
} ftp://ftp.cs.elte.hu/pub/zsh/testing/.

Stuff that seems to be missing:


* PWS's patch from zsh-workers 3285 for chasing symlinks when markdirs.
  (Was this deemed unnecessary, or fixed a different way?)


* PWS's print_eight_bit option (lost the article number).  (Also not
  necessary?)


* My patch in zle_main.c and zle_tricky.c to use `!gotmult' in place of
  `zmult == 1' in a couple of places.


* Geoff Wing's fix in zle_refresh.c (lost the article number) to replace a
  strncpy() with a memcpy().  This one seems important; here it is:

--- zsh-3.0.5-test1/Src/zle_refresh.c	Sun Jun 22 22:12:47 1997
+++ Src/zle_refresh.c	Tue Jul 29 09:28:40 1997
@@ -575,9 +575,10 @@
 	if (nllen)
 	    strncpy(p1, nl, nllen);
 	memset(p1 + nllen, ' ', winw - nllen);
-	p1[winw] = p1[winw + 1] = '\0';
+	p1[winw] = '\0';
+	p1[winw + 1] = (nllen < winw) ? '\0' : nl[winw + 1];
 	if (ln && nbuf[ln])
-	    strncpy(nl, p1, winw + 2);	/* next time obuf will be up-to-date */
+	    memcpy(nl, p1, winw + 2);	/* next time obuf will be up-to-date */
 	else
 	    nl = p1;		/* don't keep the padding for prompt line */
 	nllen = winw;


* PWS's patch (lost article number) to eliminate extra spaces at the end of
  the command line when doing menu completions.  Another important one:

--- zsh-3.0.5-test1/Src/zle_utils.c	Mon Jun  2 22:11:25 1997
+++ Src/zle_utils.c	Sat Jun 28 19:21:59 1997
@@ -73,7 +73,7 @@
 	line[to] = line[to + cnt];
 	to++;
     }
-    ll = to;
+    line[ll = to] = '\0';
 }
 
 /**/


* My recent patches to Misc/c2z.

-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com



Messages sorted by: Reverse Date, Date, Thread, Author