summaryrefslogtreecommitdiffstats
path: root/kbx/keyboxd.c
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2022-06-02 16:10:37 +0200
committerWerner Koch <wk@gnupg.org>2022-06-03 10:08:21 +0200
commitd2d7a2b128e981740ee3a3c6e2859bec0202cb86 (patch)
treee4e8e62681ca9ae4cb678c0a9ac85d2b25ebd7a9 /kbx/keyboxd.c
parenttools: Minor fix to gpg-connect-agent options. (diff)
downloadgnupg2-d2d7a2b128e981740ee3a3c6e2859bec0202cb86.tar.xz
gnupg2-d2d7a2b128e981740ee3a3c6e2859bec0202cb86.zip
Remove remaining support for WindowsCE
--
Diffstat (limited to 'kbx/keyboxd.c')
-rw-r--r--kbx/keyboxd.c17
1 files changed, 2 insertions, 15 deletions
diff --git a/kbx/keyboxd.c b/kbx/keyboxd.c
index 76e360b18..88a350a08 100644
--- a/kbx/keyboxd.c
+++ b/kbx/keyboxd.c
@@ -146,17 +146,12 @@ static struct debug_flags_s debug_flags [] =
/* The timer tick used for housekeeping stuff. Note that on Windows
* we use a SetWaitableTimer seems to signal earlier than about 2
- * seconds. Thus we use 4 seconds on all platforms except for
- * Windowsce. CHECK_OWN_SOCKET_INTERVAL defines how often we check
+ * seconds. Thus we use 4 seconds on all platforms.
+ * CHECK_OWN_SOCKET_INTERVAL defines how often we check
* our own socket in standard socket mode. If that value is 0 we
* don't check at all. All values are in seconds. */
-#if defined(HAVE_W32CE_SYSTEM)
-# define TIMERTICK_INTERVAL (60)
-# define CHECK_OWN_SOCKET_INTERVAL (0) /* Never */
-#else
# define TIMERTICK_INTERVAL (4)
# define CHECK_OWN_SOCKET_INTERVAL (60)
-#endif
/* The list of open file descriptors at startup. Note that this list
* has been allocated using the standard malloc. */
@@ -1141,8 +1136,6 @@ create_server_socket (char *name, int cygwin, assuan_sock_nonce_t *nonce)
len = SUN_LEN (unaddr);
rc = assuan_sock_bind (fd, addr, len);
- /* Our error code mapping on W32CE returns EEXIST thus we also test
- for this. */
if (rc == -1
&& (errno == EADDRINUSE
#ifdef HAVE_W32_SYSTEM
@@ -1502,13 +1495,7 @@ handle_connections (gnupg_fd_t listen_fd)
npth_sigev_add (SIGTERM);
npth_sigev_fini ();
#else
-# ifdef HAVE_W32CE_SYSTEM
- /* Use a dummy event. */
- sigs = 0;
- ev = pth_event (PTH_EVENT_SIGS, &sigs, &signo);
-# else
events[0] = INVALID_HANDLE_VALUE;
-# endif
#endif
if (disable_check_own_socket)