Date: Sat, 10 Aug 1996 20:05:04 -0400 (EDT) From: Keith Bostic <bostic@bsdi.com> To: j@uriah.heep.sax.de Cc: freebsd-bugs@freebsd.org, marcs@valis.worldgate.com Subject: Re: bin/1411: vi dumps core when using 'set list' Message-ID: <199608110005.UAA10846@mongoose.bostic.com>
index | next in thread | raw e-mail
Thanks for the vi bug report!
> Subject: Re: bin/1411: vi dumps core when using 'set list'
>
> As j wrote:
>
>>> Hmm. Well, I tried compiling it once again, this time with CFLAGS set to
>>> "-O2 -m486 -pipe" and the problem was not there. Trying with "-O2 -m486",
>>> the problem still wasn't there. With one of -O2 or -m486, it is still
>>> there. Hey, I just tried -m486 again and it won't show up. Grr. Try
>>> just using -O2 and see if you can make it show up.
>>
>> Ah, that's the key. Now i'm getting it, too!
>
> Well, i can now see the error. It still occurs when compiling with
> -g, and happens inside function svi_line() here:
>
> if (scno < cols_per_screen) {
> /* If didn't paint the whole line, update the cache. */
> smp->c_ecsize = smp->c_eclen = KEY_LEN(sp, ch);
> ^^^^^^^^^^^^^^^
> smp->c_eboff = len - 1;
I believe that this bug is fixed in more recent versions of nvi.
The currently available release is version 1.71, but I hope to
make version 1.73 available early next week.
Thanks again,
--keith
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199608110005.UAA10846>
