On 5/23/19 3:33 AM, Tom de Vries wrote:
> Using this additional bit:
> ...
> @@ -528,6 +533,8 @@ rl_redisplay ()
> init_line_structures (0);
> rl_on_new_line ();
> }
> + else if (line_size <= _rl_screenwidth)
> + init_line_structures (_rl_screenwidth + 1);
>
> /* Draw the line into the buffer. */
> cpos_buffer_position = -1;
> ...
> I managed to fix the assert also in this scenario, and managed to run
> the entire gdb testsuite without triggering the assert.
>
> Is that a good code change?
It looks like it will solve that problem, and perhaps more. Thanks for the
patch.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU [email protected] http://tiswww.cwru.edu/~chet/
_______________________________________________
Bug-readline mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-readline