Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
bug fix for zsh 3.0.0
- X-seq: zsh-workers 2274
- From: Keith Bostic <bostic@xxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxxx
- Subject: bug fix for zsh 3.0.0
- Date: Fri, 25 Oct 1996 10:23:44 -0400 (EDT)
Some termcap databases (e.g., the one distributed with ncurses) have
entries larger than 1K. When combined with termcap library code that
doesn't limit the length of the copied record to 1K (e.g., old 4BSD
implementations) it can drop core.
--keith
Index: init.c
===================================================================
RCS file: /master/contrib/zsh-3.0.0/Src/init.c,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -c -r1.1.1.1 -r1.2
*** init.c 1996/10/02 17:10:14 1.1.1.1
--- init.c 1996/10/25 13:31:56 1.2
***************
*** 405,411 ****
errflag = 0;
return termok = TERM_BAD;
} else {
! char tbuf[1024], *pp;
int t0;
termok = TERM_OK;
--- 405,411 ----
errflag = 0;
return termok = TERM_BAD;
} else {
! char tbuf[4096], *pp;
int t0;
termok = TERM_OK;
Messages sorted by:
Reverse Date,
Date,
Thread,
Author