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

Re: Modules on HP-UX (Re: D07multibyte.ztst failure on HP-UX 11.11)



On Thu, 07 May 2009 16:30:27 -0700
Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> schaefer<501> zmodload -u $(zmodload)
> zmodload: module zsh/complete is in use by another module and cannot be unloaded
> zmodload: module zsh/zle is in use by another module and cannot be unloaded
> schaefer<502> zmodload -u $(zmodload)
> Program received signal SIGSEGV, Segmentation fault.
> 0x081284c7 in resetvideo () at ../../../zsh-4.0/Src/Zle/zle_refresh.c:739
> 739             if (nbuf[ln]) {

Does this help?

Index: Src/Zle/zle_refresh.c
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/Zle/zle_refresh.c,v
retrieving revision 1.74
diff -u -r1.74 zle_refresh.c
--- Src/Zle/zle_refresh.c	13 Jan 2009 16:05:46 -0000	1.74
+++ Src/Zle/zle_refresh.c	8 May 2009 08:32:10 -0000
@@ -699,6 +699,8 @@
 #endif
 	nbuf = NULL;
 	obuf = NULL;
+	winw_alloc = -1;
+	winh_alloc = -1;
     }
 }
 
-- 
Peter Stephenson <pws@xxxxxxx>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070



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