[Groonga-commit] groonga/groonga at 653b948 [master] windows: fix inverted condition

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Apr 16 19:11:10 JST 2015


Kouhei Sutou	2015-04-16 19:11:10 +0900 (Thu, 16 Apr 2015)

  New Revision: 653b948f316a06599085ebbf80d633a19f9531e6
  https://github.com/groonga/groonga/commit/653b948f316a06599085ebbf80d633a19f9531e6

  Message:
    windows: fix inverted condition

  Modified files:
    include/groonga/portability.h

  Modified: include/groonga/portability.h (+1 -1)
===================================================================
--- include/groonga/portability.h    2015-04-16 15:46:39 +0900 (df58a46)
+++ include/groonga/portability.h    2015-04-16 19:11:10 +0900 (74cd25d)
@@ -69,7 +69,7 @@
 
 #ifdef WIN32
 # define grn_fopen(file, name, mode) do {       \
-    if (!fopen_s(&file, name, mode)) {          \
+    if (fopen_s(&file, name, mode) != 0) {      \
       file = NULL;                              \
     }                                           \
   } while (0)
-------------- next part --------------
HTML����������������������������...
Descargar 



More information about the Groonga-commit mailing list
Back to archive index