From: handa Date: Thu, 7 Sep 2006 10:16:42 +0000 (+0000) Subject: (register_database): Be sure to initialize db_info->absolute_filename. X-Git-Tag: REL-1-3-4~72 X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=43522ab22b008a22eeec2d70058ecab3996bf565;p=m17n%2Fm17n-lib.git (register_database): Be sure to initialize db_info->absolute_filename. --- diff --git a/src/database.c b/src/database.c index 5ffdecd..e8568e4 100644 --- a/src/database.c +++ b/src/database.c @@ -631,6 +631,8 @@ register_database (MSymbol tags[4], void *(*loader) (MSymbol *, void *), } if (db_info->filename[0] == PATH_SEPARATOR) db_info->absolute_filename = db_info->filename; + else + db_info->absolute_filename = NULL; } if (mdb->tag[0] == Mchar_table