diff options
author | Werner Koch <[email protected]> | 2014-02-19 10:03:31 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2014-02-26 13:04:42 +0000 |
commit | 55c3e5f448c26360eda31e05b1f62249119f73d9 (patch) | |
tree | 53baff950cf4f282878104eb1f8b350f440759bc | |
parent | common: Require an installed libiconv. (diff) | |
download | gnupg-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.c | 2 |
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")); |