[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev dev.10 progress
From: |
Leonid Pauzner |
Subject: |
Re: lynx-dev dev.10 progress |
Date: |
Wed, 20 Nov 2002 16:25:10 +0300 (MSK) |
20-Nov-2002 05:56 Thomas Dickey wrote:
> I tried something like this earlier this morning (am at work now), and it
> did fix the problem. My guess is that one of the top-level variables is
> being nulled by the new code, and it was checked in the logic for deciding
> how to redisplay. But narrowing it down to a small chunk is the first
> step in debugging the problem.
My guess is that line->size and '\0' terminated line->data deviates.
The proposed fix:
--- gridtext.c Tue Nov 19 11:37:18 2002
+++ gridtext.new Wed Nov 20 16:04:34 2002
@@ -895,6 +895,7 @@ PUBLIC HText * HText_new ARGS1(
line = self->last_line = (HTLine*)tmp_long_line[0];
line->next = line->prev = line;
line->offset = line->size = 0;
+ line->data[0] = '\0';
#ifdef USE_COLOR_STYLE
line->numstyles = 0;
line->styles = stylechanges_buffers[0];
@@ -1251,6 +1252,7 @@ PRIVATE int display_line ARGS4(
* Add the data, making sure that we do not
* go over the COLS limit on the display.
*/
+ assert(line->data[line->size] == '\0');
data = line->data;
i++;
; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden
- Re: lynx-dev dev.10 progress, (continued)
- Re: lynx-dev dev.10 progress, Leonid Pauzner, 2002/11/18
- Re: lynx-dev dev.10 progress, Leonid Pauzner, 2002/11/18
- Re: lynx-dev dev.10 progress, Leonid Pauzner, 2002/11/19
- Re: lynx-dev dev.10 progress, Thomas E. Dickey, 2002/11/19
- Re: lynx-dev dev.10 progress, Leonid Pauzner, 2002/11/19
- Re: lynx-dev dev.10 progress, Thomas E. Dickey, 2002/11/19
- Re: lynx-dev dev.10 progress, Thomas Dickey, 2002/11/19
- Re: lynx-dev dev.10 progress, Leonid Pauzner, 2002/11/20
- Re: lynx-dev dev.10 progress, Thomas Dickey, 2002/11/20
- Re: lynx-dev dev.10 progress, Leonid Pauzner, 2002/11/20
- Re: lynx-dev dev.10 progress,
Leonid Pauzner <=
- Re: lynx-dev dev.10 progress, Thomas Dickey, 2002/11/20
- Re: lynx-dev dev.10 progress, Thomas Dickey, 2002/11/24
- Re: lynx-dev dev.10 progress, Leonid Pauzner, 2002/11/25
- Re: lynx-dev dev.10 progress, Thomas E. Dickey, 2002/11/25
- Re: lynx-dev dev.10 progress, Leonid Pauzner, 2002/11/30
- Re: lynx-dev dev.10 progress, Thomas Dickey, 2002/11/30
Re: lynx-dev Patch for SSL warning, David Woolley, 2002/11/19