gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] r8854 - gnunet/src/util


From: gnunet
Subject: [GNUnet-SVN] r8854 - gnunet/src/util
Date: Tue, 25 Aug 2009 13:49:52 -0600

Author: durner
Date: 2009-08-25 13:49:51 -0600 (Tue, 25 Aug 2009)
New Revision: 8854

Modified:
   gnunet/src/util/test_configuration.c
Log:
MinGW fix

Modified: gnunet/src/util/test_configuration.c
===================================================================
--- gnunet/src/util/test_configuration.c        2009-08-25 18:55:49 UTC (rev 
8853)
+++ gnunet/src/util/test_configuration.c        2009-08-25 19:49:51 UTC (rev 
8854)
@@ -67,7 +67,12 @@
   if (GNUNET_OK !=
       GNUNET_CONFIGURATION_get_value_filename (cfg, "last", "test", &c))
     return 8;
+#ifndef MINGW
   if (0 != strcmp (c, "/hello/world"))
+#else
+  #define HI "\\hello\\world"
+  if (strstr (c, HI) != c + strlen (c) - strlen (HI))
+#endif
     {
       GNUNET_free (c);
       return 9;





reply via email to

[Prev in Thread] Current Thread [Next in Thread]