mirror of
git://git.gnupg.org/gnupg.git
synced 2025-05-17 08:43:24 +02:00
agent: Fixed unresolved symbol under Windows.
* agent/gpg-agent.c (main): s/ttyname/gnupg_ttyname/. -- This was not triggered by the latest mingw runtime but that has other problems and thus I reverted to the same we used for gpg4win 2.1 which is Debian Wheezy.
This commit is contained in:
parent
380a2aa18e
commit
55c3e5f448
@ -992,7 +992,7 @@ main (int argc, char **argv )
|
|||||||
|
|
||||||
/* Make sure that we have a default ttyname. */
|
/* Make sure that we have a default ttyname. */
|
||||||
if (!default_ttyname && gnupg_ttyname (1))
|
if (!default_ttyname && gnupg_ttyname (1))
|
||||||
default_ttyname = xstrdup (ttyname (1));
|
default_ttyname = xstrdup (gnupg_ttyname (1));
|
||||||
if (!default_ttytype && getenv ("TERM"))
|
if (!default_ttytype && getenv ("TERM"))
|
||||||
default_ttytype = xstrdup (getenv ("TERM"));
|
default_ttytype = xstrdup (getenv ("TERM"));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user