Navigation Menu

Skip to content

Commit

Permalink
Fix a typo...
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Apr 16, 2015
1 parent 005f98a commit 4de4d06
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/grn_util.h
Expand Up @@ -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
}
Expand Down
2 changes: 1 addition & 1 deletion lib/ii.c
Expand Up @@ -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);
Expand Down

0 comments on commit 4de4d06

Please sign in to comment.