[git] GPGME - branch, master, updated. gpgme-1.6.0-12-g83415df
by Werner Koch
cvs at cvs.gnupg.org
Wed Dec 9 11:44:24 CET 2015
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GnuPG Made Easy".
The branch, master has been updated
via 83415dffaea53611dbce77b50d8ddfb2a50aed2e (commit)
from 67d7f7a9383763b01daf877c846bf3e32f647fa5 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
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>
diff --git a/src/w32-util.c b/src/w32-util.c
index 3600b28..a27955b 100644
--- a/src/w32-util.c
+++ b/src/w32-util.c
@@ -647,7 +647,7 @@ static const char letters[] =
does not exist at the time of the call to mkstemp. TMPL is
overwritten with the result. */
static int
-mkstemp (char *tmpl)
+my_mkstemp (char *tmpl)
{
int len;
char *XXXXXX;
@@ -755,7 +755,7 @@ _gpgme_mkstemp (int *fd, char **name)
if (!tmpname)
return -1;
strcpy (stpcpy (tmpname, tmp), "\\gpgme-XXXXXX");
- *fd = mkstemp (tmpname);
+ *fd = my_mkstemp (tmpname);
if (fd < 0)
{
free (tmpname);
-----------------------------------------------------------------------
Summary of changes:
src/w32-util.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--
GnuPG Made Easy
http://git.gnupg.org
More information about the Gnupg-commits
mailing list