[Gpg4win-devel] Self-compiled gpgme can't read output of gpgconf.exe [SOLVED]

Werner Koch wk at gnupg.org
Wed Dec 9 11:55:46 CET 2015


On Tue,  8 Dec 2015 12:44, andrej at kacian.sk said:

> mkstemp() definition from w32-util.c, as mingw-w64 provides this
> function from 4.0 onwards. But as it turns out, gpgme's mkstemp()
> behaves a bit differently from mkstemp() provided by mingw-w64.

commit 83415dffaea53611dbce77b50d8ddfb2a50aed2e 
Author: Werner Koch <wk at gnupg.org>
Date:   Wed Dec 9 11:39:26 2015 +0100

    w32: Avoid conflict with Mingw-w64 version 4.0.4-1
    
    * src/w32-util.c (mkstemp): Rename to my_mkstemp.  Change caller.
    --
    
    For some reason the linker seems to use the mkstemp now provided by
    mingw instead of our static symbol.  Strange.
    
    Reported-by: Andrej Kacian <andrej at kacian.sk>
    Signed-off-by: Werner Koch <wk at gnupg.org>

Thanks,

  Werner
  
-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.



More information about the Gpg4win-devel mailing list