aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2014-02-19 10:03:31 +0000
committerWerner Koch <[email protected]>2014-02-26 13:04:42 +0000
commit55c3e5f448c26360eda31e05b1f62249119f73d9 (patch)
tree53baff950cf4f282878104eb1f8b350f440759bc
parentcommon: Require an installed libiconv. (diff)
downloadgnupg-55c3e5f448c26360eda31e05b1f62249119f73d9.tar.gz
gnupg-55c3e5f448c26360eda31e05b1f62249119f73d9.zip
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.
Diffstat (limited to '')
-rw-r--r--agent/gpg-agent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/agent/gpg-agent.c b/agent/gpg-agent.c
index 34f8ef34f..c53566b2b 100644
--- a/agent/gpg-agent.c
+++ b/agent/gpg-agent.c
@@ -992,7 +992,7 @@ main (int argc, char **argv )
/* Make sure that we have a default ttyname. */
if (!default_ttyname && gnupg_ttyname (1))
- default_ttyname = xstrdup (ttyname (1));
+ default_ttyname = xstrdup (gnupg_ttyname (1));
if (!default_ttytype && getenv ("TERM"))
default_ttytype = xstrdup (getenv ("TERM"));