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

Re: 4.0.6



> Bart pointed out Karl Tomlinson's termcap/terminfo fix from 17482 should
> be in 4.0 and Thomas Stromberg sent a fix for _mount in 17542, so I have
> updated 4.0.5 to 4.0.6 and sent it to Sourceforge.

4.0.6 segfaults on startup for me (due to use of $terminfo in
/etc/zshrc); this patch seems to help:


Index: Src/Modules/terminfo.c
===================================================================
RCS file: /var/lib/cvs/debian/zsh/Src/Modules/terminfo.c,v
retrieving revision 1.1.1.2
diff -u -r1.1.1.2 terminfo.c
--- Src/Modules/terminfo.c	14 Aug 2002 17:28:52 -0000	1.1.1.2
+++ Src/Modules/terminfo.c	15 Aug 2002 21:49:49 -0000
@@ -198,6 +198,8 @@
     {
 	pm->u.str = dupstring(tistr);
 	pm->flags |= PM_SCALAR;
+	pm->sets.cfn = NULL;
+	pm->gets.cfn = strgetfn;
     }
     else
     {



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