This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: Anybody a compiled lesstif ?


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@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]