[svn] gpgme - r1331 - trunk/gpgme
svn author marcus
cvs at cvs.gnupg.org
Tue Sep 16 17:23:24 CEST 2008
Author: marcus
Date: 2008-09-16 17:23:23 +0200 (Tue, 16 Sep 2008)
New Revision: 1331
Modified:
trunk/gpgme/ChangeLog
trunk/gpgme/rungpg.c
Log:
2008-09-16 Marcus Brinkmann <marcus at g10code.com>
* rungpg.c (gpg_new): Don't use errno with ttyname_r.
Modified: trunk/gpgme/ChangeLog
===================================================================
--- trunk/gpgme/ChangeLog 2008-08-11 17:23:45 UTC (rev 1330)
+++ trunk/gpgme/ChangeLog 2008-09-16 15:23:23 UTC (rev 1331)
@@ -1,3 +1,7 @@
+2008-09-16 Marcus Brinkmann <marcus at g10code.com>
+
+ * rungpg.c (gpg_new): Don't use errno with ttyname_r.
+
2008-08-11 Marcus Brinkmann <marcus at g10code.com>
* rungpg.c (gpg_cancel): Remove cmd fd before status fd.
@@ -12,7 +16,7 @@
* rungpg.c (command_handler): Remove I/O callback on error, too.
-2008-06-29 Marcus Brinkmann <marcus at ulysses.g10code.com>
+2008-06-29 Marcus Brinkmann <marcus at g10code.com>
* gpgme.c (gpgme_cancel_async): Remove unused variable.
Modified: trunk/gpgme/rungpg.c
===================================================================
--- trunk/gpgme/rungpg.c 2008-08-11 17:23:45 UTC (rev 1330)
+++ trunk/gpgme/rungpg.c 2008-09-16 15:23:23 UTC (rev 1331)
@@ -516,7 +516,7 @@
err = ttyname_r (1, dft_ttyname, sizeof (dft_ttyname));
if (err)
- rc = gpg_error_from_errno (errno);
+ rc = gpg_error_from_errno (err);
else
{
if (*dft_ttyname)
More information about the Gnupg-commits
mailing list