[Groonga-commit] groonga/groonga at a534fac [master] Add missing "n" argument

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Jul 27 17:46:05 JST 2015


Kouhei Sutou	2015-07-27 17:46:05 +0900 (Mon, 27 Jul 2015)

  New Revision: a534fac71ca81ecaed0144292d933911e82defcd
  https://github.com/groonga/groonga/commit/a534fac71ca81ecaed0144292d933911e82defcd

  Message:
    Add missing "n" argument

  Modified files:
    include/groonga/portability.h

  Modified: include/groonga/portability.h (+4 -4)
===================================================================
--- include/groonga/portability.h    2015-07-27 17:45:27 +0900 (20afb10)
+++ include/groonga/portability.h    2015-07-27 17:46:05 +0900 (a07ce7b)
@@ -126,11 +126,11 @@
 #endif /* WIN32 */
 
 #ifdef WIN32
-# define grn_strncasecmp(string1, string2)      \
-  _strnicmp((string1), (string2))
+# define grn_strncasecmp(string1, string2, n)   \
+  _strnicmp((string1), (string2), (n))
 #else /* WIN32 */
-# define grn_strncasecmp(string1, string2)      \
-  strncasecmp((string1), (string2))
+# define grn_strncasecmp(string1, string2, n)   \
+  strncasecmp((string1), (string2), (n))
 #endif /* WIN32 */
 
 #ifdef WIN32
-------------- next part --------------
HTML����������������������������...
Download 



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