[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev makeuctb crashes with -mno-cygwin [PATCH]
From: |
Frédéric L . W . Meunier |
Subject: |
Re: lynx-dev makeuctb crashes with -mno-cygwin [PATCH] |
Date: |
Tue, 30 Mar 2004 06:04:12 -0300 |
On Mon, 29 Mar 2004, Doug Kaufman wrote:
> 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?
You're right. It fixed it. It was only crashing with no
arguments or a UNIX PATH:
$ ./makeuctb.old.exe /d/Linux/lynx2-8-5/src/chrtrans/iso01_uni.tbl iso01_uni.h
/d/Linux/lynx2-8-5/src/chrtrans/iso01_uni.tbl: No such file or directory
./makeuctb.exe /d/Linux/lynx2-8-5/src/chrtrans/iso01_uni.tbl iso01_uni.h
/d/Linux/lynx2-8-5/src/chrtrans/iso01_uni.tbl: No such file or directory
make: *** [iso01_uni.h] Error 66
Here it didn't.
I thought it'd accept /d instead of d:/, which works for both:
$ ./makeuctb.exe d:/Linux/lynx2-8-5/src/chrtrans/iso01_uni.tbl iso01_uni.h
makeuctb: iso-8859-1: translation map (_iso_8859_1).
$ ./makeuctb.old.exe d:/Linux/lynx2-8-5/src/chrtrans/iso01_uni.tbl iso01_uni.h
makeuctb: iso-8859-1: translation map (_iso_8859_1).
--
How to contact me - http://www.pervalidus.net/contact.html
; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden