bug-ocrad
[Top][All Lists]
Advanced

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

Re: [Bug-ocrad] Ocrad opens files in text mode


From: skip
Subject: Re: [Bug-ocrad] Ocrad opens files in text mode
Date: Mon, 23 Oct 2006 07:25:18 -0500

    >> I am told that _setmode will work to change the mode on Win32, e.g.:

    Antonio> _setmode is neither ISO nor POSIX. Sorry, but I won't use a
    Antonio> non-standard feature only to make ocrad work on M$
    Antonio> systems. Better try to convince Bill of making M$-windows POSIX
    Antonio> compatible.

What's wrong with

#ifdef HAVE__SETMODE
    ... do the _setmode dance here ...
#else
    ... treat stdin as a binary stream here ...
#endif

?  After all, isn't that what configure is for?

Skip




reply via email to

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