Skip to main content.
home | support | download

Back to List Archive

RE: [SWISH-E:242] Win32 Hangup

From: A.S.Igumnov <igumnov(at)not-real.perl.imm.intec.ru>
Date: Wed Apr 15 1998 - 04:02:33 GMT
>Has anyone compiled SWISH-E on Windows 95 and gotten it to read the
>index.swish file?  I have a binary compiled with MSVC++ 5 on NT and it
hangs
>when you attempt to do a keyword search.  I compiled it with GCC b19 on
>Windows 95 and have the same results.  Does anyone have any ideas what
could
>be causing this, or, where to look?  I get absolutely no errors during
>compile.  Any input would be appreciated.
Main problem I think is DOS text mode, which is default mode for fopen() in
all DOS/Windows C lib's
include Cygnus GNUWin32
In DJGPP you can change it by assignment _fmode=O_BINARY;
in other case you must change all fopen's to form fopen(fname,"wb") or
fopen(fname,"rb")
Received on Tue Apr 14 21:11:53 1998