2008-09-16 Marcus Brinkmann <marcus@g10code.com>
* rungpg.c (gpg_new): Don't use errno with ttyname_r.
This commit is contained in:
parent
26c0edc270
commit
f300cd09b4
@ -1,3 +1,7 @@
|
||||
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.
|
||||
@ -12,7 +16,7 @@
|
||||
|
||||
* 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.
|
||||
|
||||
|
@ -516,7 +516,7 @@ gpg_new (void **engine, const char *file_name, const char *home_dir)
|
||||
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user