MinGW+Wine and "DBG: rndw32: get performance data problem: ec=2"

Werner Koch wk at gnupg.org
Wed Jan 16 20:02:57 CET 2008


On Wed, 16 Jan 2008 15:25, simon at josefsson.org said:

> Libgcrypt can't know that the syscall will fail, but is there any reason
> to believe that if the first of the 10 calls returns FILE_NOT_FOUND,
> that another call to the same function with the same parameters will
> succeed?  Possibly the code should just abort the loop in this
> situation.

Frankly, I don't know.  The code is by Peter Gutmann and I would need to
do some research why it fails.

> In any case, other calls to log_debug in that file are protected behind
> a 'if (debug_me)' so I would suggest the patch below as a first step.

Well, the reason for always printing it is so that you could send this
complaint ;-).

What about printing the warning only once per process?


Salam-Shalom,

   Werner

-- 
Die Gedanken sind frei.  Auschnahme regelt ein Bundeschgesetz.




More information about the Gcrypt-devel mailing list