* rungpg.c (gpg_new): Don't use errno with ttyname_r.
+2008-09-16 Marcus Brinkmann <marcus@g10code.com>
+
+ * rungpg.c (gpg_new): Don't use errno with ttyname_r.
+
2008-08-11 Marcus Brinkmann <marcus@g10code.com>
* rungpg.c (gpg_cancel): Remove cmd fd before status fd.
* rungpg.c (command_handler): Remove I/O callback on error, too.
-2008-06-29 Marcus Brinkmann <marcus@ulysses.g10code.com>
+2008-06-29 Marcus Brinkmann <marcus@g10code.com>
* gpgme.c (gpgme_cancel_async): Remove unused variable.
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)