[Groonga-commit] groonga/groonga [master] [io] clear path for tmp IO. refs #892

Back to archive index

null+****@clear***** null+****@clear*****
2011年 11月 7日 (月) 11:34:00 JST


Kouhei Sutou	2011-11-07 02:34:00 +0000 (Mon, 07 Nov 2011)

  New Revision: db5b94a68502fe9130986f326f5b8b2e20d629cd

  Log:
    [io] clear path for tmp IO. refs #892

  Modified files:
    lib/io.c

  Modified: lib/io.c (+1 -0)
===================================================================
--- lib/io.c    2011-11-07 02:22:12 +0000 (8be1913)
+++ lib/io.c    2011-11-07 02:34:00 +0000 (0f0790b)
@@ -133,6 +133,7 @@ grn_io_create_tmp(uint32_t header_size, uint32_t segment_size,
         io->count = 0;
         io->flags = GRN_IO_TEMPORARY;
         io->lock = &header->lock;
+        io->path[0] = '\0';
         return io;
       }
       GRN_GFREE(io);




Groonga-commit メーリングリストの案内
Back to archive index