lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lynx-dev makeuctb crashes with -mno-cygwin [PATCH]


From: Doug Kaufman
Subject: Re: lynx-dev makeuctb crashes with -mno-cygwin [PATCH]
Date: Mon, 29 Mar 2004 23:56:21 -0800 (PST)

On Mon, 29 Mar 2004, Frédéric L. W. Meunier wrote:

> I noticed a problem though, and don't know what to do. The
> resulting makeuctb binary just crashes. Windows XP Professional
> SP1 pops up a window about msvcrt.dll. Not knowing how to fix
> it, I compiled makeuctb for Cygwin and used it.

I checked the binary on my machine again. It crashes with a page fault
in msvcrt.dll if you run it without an argument. It runs fine with one
of the .tbl files as an argument.

Try this patch. It works to fix makeuctb on my machine. Does it help on
Windows XP?
                             Doug

--- lynx2-8-5/src/chrtrans/makeuctb.c.ori       2004-01-28 11:30:38.000000000 
-0800
+++ lynx2-8-5/src/chrtrans/makeuctb.c   2004-03-29 23:54:52.000000000 -0800
@@ -47,7 +47,9 @@
 PRIVATE void done ARGS1(int, code)
 {
     fflush(chdr);
+#ifndef __MINGW32__
     fclose(chdr);
+#endif /* __MINGW32__ */
     fflush(stderr);
     exit(code);
 }

-- 
Doug Kaufman
Internet: address@hidden


; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden


reply via email to

[Prev in Thread] Current Thread [Next in Thread]