aboutsummaryrefslogtreecommitdiffstats
path: root/tests/gpg/t-wait.c
diff options
context:
space:
mode:
authorMarcus Brinkmann <[email protected]>2007-09-27 13:01:54 +0000
committerMarcus Brinkmann <[email protected]>2007-09-27 13:01:54 +0000
commit37ac53e74c6dd66c3df2ad052ef0302cf90cf4b0 (patch)
treeb119cced434baf2903f87527dafcc39bed26d918 /tests/gpg/t-wait.c
parentdoc/ (diff)
downloadgpgme-37ac53e74c6dd66c3df2ad052ef0302cf90cf4b0.tar.gz
gpgme-37ac53e74c6dd66c3df2ad052ef0302cf90cf4b0.zip
2007-09-27 Marcus Brinkmann <[email protected]>
* assuan-pipe-connect.c (pipe_connect_gpgme): Do not close process handle here. Use this function also on Unix systems. gpgme/ 2007-09-27 Marcus Brinkmann <[email protected]> * w32-glib-io.c (_gpgme_io_spawn), w32-qt-io.cpp (_gpgme_io_spawn), w32-io.c (_gpgme_io_spawn): Close the process handle, return 0. tests/ 2007-09-27 Marcus Brinkmann <[email protected]> * t-engine-info.c (check_engine_info): Fix debug output. * gpg/Makefile.am (tests_unix): New variable. (TESTS): Use it. * gpg/t-support.h (passphrase_cb) [HAVE_W32_SYSTEM]: Use WriteFile instead of write. * gpg/t-wait.c [HAVE_W32_SYSTEM]: Define sleep as _sleep.
Diffstat (limited to 'tests/gpg/t-wait.c')
-rw-r--r--tests/gpg/t-wait.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/gpg/t-wait.c b/tests/gpg/t-wait.c
index c12835d7..eec4d96d 100644
--- a/tests/gpg/t-wait.c
+++ b/tests/gpg/t-wait.c
@@ -1,6 +1,6 @@
/* t-wait.c - Regression test.
Copyright (C) 2000 Werner Koch (dd9jn)
- Copyright (C) 2001, 2002, 2003, 2004, 2005 g10 Code GmbH
+ Copyright (C) 2001, 2002, 2003, 2004, 2005, 2007 g10 Code GmbH
This file is part of GPGME.
@@ -29,6 +29,10 @@
#include <stdio.h>
#include <string.h>
+#ifdef HAVE_W32_SYSTEM
+#define sleep _sleep
+#endif
+
#include <gpgme.h>
#include "t-support.h"