bug-ocrad
[Top][All Lists]
Advanced

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

Re: [Bug-ocrad] Version 0.21-pre2 of GNU Ocrad released


From: Antonio Diaz Diaz
Subject: Re: [Bug-ocrad] Version 0.21-pre2 of GNU Ocrad released
Date: Tue, 23 Nov 2010 17:56:48 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.7.11) Gecko/20050905

Tilman Hausherr wrote:
Tests at home with cygwin+gcc (The trial period for VS2010 has run out,
and I'm not yet willing to pay 600Euros for it) look promising. All
error images from august now run fine, the test excel print (that I sent
you) runs fine too. The output for the 6 images I used for the benchmark
is identical.

Good!


I also replaced
  _setmode( STDIN_FILENO, O_BINARY );
  _setmode( STDOUT_FILENO, O_BINARY );

with setmode( fileno( stdin ), O_BINARY );
    setmode( fileno( stdout ), O_BINARY );

because VS2008 doesn't know about STDIN_FILENO and STDOUT_FILENO.

As you already know, I am reluctant to complicate things just to fit proprietary compilers, but I may accept the "fileno" part of the above change because it may indeed simplify things. (I remember we decided to use "_setmode" for some reason, but I can't find why).


Best regards,
Antonio.



reply via email to

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