The message below from "Town, Brad"
<[EMAIL PROTECTED]> was forwarded by
the list maintainer.

>Symptoms
>--------
>With a Cygwin build, when Lynx exits with errors, it doesn't use text mode
>with stdout properly.  It is setting stdout to binary mode before the text
>has been flushed.
>
>Solution
>--------
>The attached patch to LYMainLoop simply adds a fflush(stdout) before setting
>stdout's mode back to binary.
>
>lynx -version
>-------------
>Lynx Version 2.8.3rel.1 (23 Apr 2000)
>Built on cygwin Nov  9 2000 14:53:30
>
>uname -a
>--------
>CYGWIN_NT-5.0 DECATUR 1.1.6(0.30/3/2) 2000-11-09 10:44 i686 unknown
>
>--- LYMainLoop.c        Wed Apr 19 21:57:56 2000
>+++ LYMainLoop.c.mine   Thu Nov  9 17:10:48 2000
>@@ -7564,6 +7564,7 @@
>      {
>         SetOutputMode( O_TEXT );
>         fputs(buf, stdout);
>+       fflush(stdout);
>         SetOutputMode( O_BINARY );
>      }


; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to [EMAIL PROTECTED]

Reply via email to