diff options
author | Werner Koch <wk@gnupg.org> | 2004-12-20 17:17:25 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2004-12-20 17:17:25 +0100 |
commit | 581f5ddb1724f469dc7f934f5093179dfb1e05a9 (patch) | |
tree | d239f17e59f705f1b85c5cb5c2b9e1595e512e5f /common/util.h | |
parent | (do_pth_event_free): The events are hold in a ring (diff) | |
download | gnupg2-581f5ddb1724f469dc7f934f5093179dfb1e05a9.tar.xz gnupg2-581f5ddb1724f469dc7f934f5093179dfb1e05a9.zip |
* configure.ac: Add PATHSEP_C and PATHSEP_S. For W32 let all
directories default to c:/gnupg. Require libassuan 0.6.9.
* gpg-agent.c (main) [W32]: Now that Mutexes work we can remove
the pth_init kludge.
(main): Add new options --[no-]use-standard-socket.
(check_for_running_agent): Check whether it is running on the
standard socket.
* sysutils.h [W32]: Define sleep.
* util.h: Add prototype for mkdtemp.
* call-agent.c (start_agent): Before starting a pipe server start
to connect to a server on the standard socket. Use PATHSEP
* call-dirmngr.c (start_dirmngr): Use PATHSEP.
* import.c: Include unistd.h for dup and close.
Diffstat (limited to 'common/util.h')
-rw-r--r-- | common/util.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/common/util.h b/common/util.h index 835be4e0e..1159da925 100644 --- a/common/util.h +++ b/common/util.h @@ -150,6 +150,10 @@ char *strsep (char **stringp, const char *delim); #ifndef HAVE_TTYNAME char *ttyname (int fd); #endif +#ifndef HAVE_MKDTEMP +char *mkdtemp (char *template); +#endif + /*-- some macros to replace ctype ones and avoid locale problems --*/ #define spacep(p) (*(p) == ' ' || *(p) == '\t') |