[svn] dirmngr - r297 - trunk/src
svn author marcus
cvs at cvs.gnupg.org
Fri Mar 21 05:32:38 CET 2008
Author: marcus
Date: 2008-03-21 05:32:37 +0100 (Fri, 21 Mar 2008)
New Revision: 297
Modified:
trunk/src/dirmngr.c
trunk/src/estream.c
trunk/src/get-path.c
Log:
Fix small buglets.
Modified: trunk/src/dirmngr.c
===================================================================
--- trunk/src/dirmngr.c 2008-03-21 04:30:50 UTC (rev 296)
+++ trunk/src/dirmngr.c 2008-03-21 04:32:37 UTC (rev 297)
@@ -123,7 +123,7 @@
{ aServer, "server", 256, N_("run in server mode (foreground)") },
{ aDaemon, "daemon", 256, N_("run in daemon mode (background)") },
-#if HAVE_W32_SYSTEM
+#ifdef HAVE_W32_SYSTEM
{ aService, "service", 256, N_("run as windows service (background)") },
#endif
{ aListCRLs, "list-crls", 256, N_("list the contents of the CRL cache")},
Modified: trunk/src/estream.c
===================================================================
--- trunk/src/estream.c 2008-03-21 04:30:50 UTC (rev 296)
+++ trunk/src/estream.c 2008-03-21 04:32:37 UTC (rev 297)
@@ -112,7 +112,7 @@
# define ESTREAM_MUTEX_TRYLOCK(mutex) \
((pth_mutex_acquire (&(mutex), 1, NULL) == TRUE) ? 0 : -1)
# define ESTREAM_MUTEX_INITIALIZE(mutex) pth_mutex_init (&(mutex))
-#if HAVE_W32_SYSTEM
+#ifdef HAVE_W32_SYSTEM
# define ESTREAM_MUTEX_DESTROY(mutex) pth_mutex_destroy (&(mutex))
#else
# define ESTREAM_MUTEX_DESTROY(mutex) (void) 0
Modified: trunk/src/get-path.c
===================================================================
--- trunk/src/get-path.c 2008-03-21 04:30:50 UTC (rev 296)
+++ trunk/src/get-path.c 2008-03-21 04:32:37 UTC (rev 297)
@@ -32,7 +32,7 @@
#include <sys/types.h>
#include <signal.h>
#include <fcntl.h>
-#if HAVE_W32_SYSTEM
+#ifdef HAVE_W32_SYSTEM
#include <windows.h>
#include <shlobj.h>
#include <io.h>
@@ -57,7 +57,7 @@
#endif
-#if HAVE_W32_SYSTEM
+#ifdef HAVE_W32_SYSTEM
#define RTLD_LAZY 0
static __inline__ void *
More information about the Gnupg-commits
mailing list