delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/04/24/22:44:16

From: sos AT buggy DOT prospect DOT com DOT ru (Sergey Okhapkin)
Subject: RE: Anybody a compiled lesstif ?
24 Apr 1998 22:44:16 -0700 :
Message-ID: <01BD6FD3.2187C350.cygnus.gnu-win32@sos>
To: "gnu-win32 AT cygnus DOT com" <gnu-win32 AT cygnus DOT com>,
"'Rudolf Ngan'"
<rudolf AT hk DOT linkage DOT net>

Rudolf Ngan wrote:
> I compiled it successfully on both linux 2.0.30 and cygnus-win32 b19, the
> linux version can convert pdf to text real good (I have tested it on many
> PDFs, all work fine), but the win32 one suffers from different types of
> unexpected logical errors. After tracing the source code for two days, I
> suspect that there may be problem with the library code of 
Stream::getChar()
> !!

Looks like well-known text vs binary problem. If Stream class uses fopen() 
call to open a file, change mode argument to "rb", if open() - add O_BINARY 
to mode.

--
Sergey Okhapkin, http://www.lexa.ru/sos
Moscow, Russia


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019