Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Purified zsh-3.0.1
- X-seq: zsh-workers 2359
- From: Geoff Wing <gwing@xxxxxxxxxxxxxxx>
- To: hniksic@xxxxxxx (Hrvoje Niksic)
- Subject: Re: Purified zsh-3.0.1
- Date: Sun, 10 Nov 1996 16:12:41 +1100 (EST)
- Cc: zsh-workers@xxxxxxxxxxxxxxx
- In-reply-to: <kigohh6tw4g.fsf@xxxxxxxxxxxxx> from "Hrvoje Niksic" at Nov 10, 96 05:25:03 am
Hrvoje Niksic wrote:
:I have run a purified version of zsh-3.0.1 on solaris2.5, and here is
:what I got:
:ABR: Array bounds read
:This is in refreshline [zle_refresh.c:583]:
: /* 3: main display loop - write out the buffer using whatever tricks we can */
: for (;;) {
: => if (*nl && nl[1] == ol[1]) /* skip only if second chars match */
:I hope this will help debugging... Those ABR-s in line editor could
:be the cause of coredumps seen on Ultrix, that are quite hard to
:repeat.
This is a patch (on top of 2351 and its predecessor though it'll patch without
them)
I believe it will fix said problem. It doesn't seem likely to me that it
would be the cause of any coredumps.
*** zle_refresh.c.~2~ Sat Nov 9 21:08:12 1996
--- zle_refresh.c Sun Nov 10 16:01:03 1996
***************
*** 615,621 ****
/* 3: main display loop - write out the buffer using whatever tricks we can */
for (;;) {
! if (*nl && nl[1] == ol[1]) /* skip only if second chars match */
/* skip past all matching characters */
for (; *nl && (*nl == *ol); nl++, ol++, ccs++) ;
--- 615,621 ----
/* 3: main display loop - write out the buffer using whatever tricks we can */
for (;;) {
! if (*nl && *ol && nl[1] == ol[1]) /* skip only if second chars match */
/* skip past all matching characters */
for (; *nl && (*nl == *ol); nl++, ol++, ccs++) ;
--
Geoff Wing [gwing@xxxxxxxxxxxxxxx] Technical Manager
Phone : +61-3-9818 2977 PrimeNet - Internet Consultancy
Facsimile: +61-3-9819 3788 Web : <URL:http://www.primenet.com.au/>
Mobile : 0412 162 441
Messages sorted by:
Reverse Date,
Date,
Thread,
Author