On Thu, 2 Jun 2005, OpenMacNews wrote:

hi thomas,

a stack overflow.  The likely cause is a problem (I'm not sure what) with
the new chunk of code in src/LYCurses.c at line 1753
(the #ifdef USE_CURSES_PADS).  Looking at it right now, I suspect I see
the problem
...
Try changing the "#ifdef
USE_CURSES_PADS" line to "#if 0", and that should make the stack overflow
go away - perhaps the blinking also (I'd like to know the latter).

=================================
(EDITOR) src/LYCurses.c
@62
--- #ifdef USE_CURSES_PADS
+++ #if 0
=================================

I think you changed the wrong line.  Here's what diff -u shows for the
suggested change:

--- LYCurses.c.orig     2005-06-02 18:36:59.000000000 -0400
+++ LYCurses.c  2005-06-03 06:04:31.296205500 -0400
@@ -1750,7 +1750,7 @@
                const char *src,
                size_t len)
 {
-#ifdef USE_CURSES_PADS
+#if 0//def USE_CURSES_PADS
     /*
      * If we've configured to use pads for left/right scrolling, that can
      * interfere with calls to this function that assume they're wrapping.

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net


_______________________________________________
Lynx-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lynx-dev

Reply via email to