[Groonga-commit] groonga/groonga at 4de4d06 [master] Fix a typo...

Back to archive index

Kouhei Sutou null+****@clear*****
Thu Apr 16 23:04:01 JST 2015


Kouhei Sutou	2015-04-16 23:04:01 +0900 (Thu, 16 Apr 2015)

  New Revision: 4de4d0637c8d6ee3d9b152f51b6a3425df7b89fb
  https://github.com/groonga/groonga/commit/4de4d0637c8d6ee3d9b152f51b6a3425df7b89fb

  Message:
    Fix a typo...

  Modified files:
    lib/grn_util.h
    lib/ii.c

  Modified: lib/grn_util.h (+1 -1)
===================================================================
--- lib/grn_util.h    2015-04-16 22:47:03 +0900 (073d888)
+++ lib/grn_util.h    2015-04-16 23:04:01 +0900 (f94140d)
@@ -29,7 +29,7 @@ GRN_API grn_rc grn_normalize_offset_and_limit(grn_ctx *ctx, int size, int *offse
 GRN_API const char *grn_win32_base_dir(void);
 GRN_API char *grn_path_separator_to_system(char *dest, char *groonga_path);
 
-int grn_mktemp(char *path_template);
+int grn_mkstemp(char *path_template);
 
 #ifdef __cplusplus
 }

  Modified: lib/ii.c (+1 -1)
===================================================================
--- lib/ii.c    2015-04-16 22:47:03 +0900 (e34a554)
+++ lib/ii.c    2015-04-16 23:04:01 +0900 (17dc58b)
@@ -7721,7 +7721,7 @@ grn_ii_buffer_open(grn_ctx *ctx, grn_ii *ii,
           snprintf(ii_buffer->tmpfpath, PATH_MAX,
                    "%sXXXXXX", grn_io_path(ii->seg));
           ii_buffer->block_buf_size = II_BUFFER_BLOCK_SIZE;
-          ii_buffer->tmpfd = grn_mktemp(ii_buffer->tmpfpath);
+          ii_buffer->tmpfd = grn_mkstemp(ii_buffer->tmpfpath);
           if (ii_buffer->tmpfd != -1) {
             grn_obj_flags flags;
             grn_table_get_info(ctx, ii->lexicon, &flags, NULL, NULL, NULL, NULL);
-------------- next part --------------
HTML����������������������������...
Download 



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