[Groonga-commit] groonga/groonga at cdab736 [master] Use grn_strcasecmp()

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Jul 27 17:44:51 JST 2015


Kouhei Sutou	2015-07-27 17:44:51 +0900 (Mon, 27 Jul 2015)

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

  Message:
    Use grn_strcasecmp()

  Modified files:
    lib/util.c

  Modified: lib/util.c (+2 -2)
===================================================================
--- lib/util.c    2015-07-27 17:44:29 +0900 (1008fa9)
+++ lib/util.c    2015-07-27 17:44:51 +0900 (7096b06)
@@ -1329,8 +1329,8 @@ grn_win32_base_dir(void)
           *path = '\0';
         }
         path = strrchr(win32_base_dir, '\\');
-        if (path && (strcasecmp(path + 1, "bin") == 0 ||
-                     strcasecmp(path + 1, "lib") == 0)) {
+        if (path && (grn_strcasecmp(path + 1, "bin") == 0 ||
+                     grn_strcasecmp(path + 1, "lib") == 0)) {
           *path = '\0';
         } else {
           path = win32_base_dir + strlen(win32_base_dir);
-------------- next part --------------
HTML����������������������������...
Download 



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