(register_database): Be sure to initialize db_info->absolute_filename.
authorhanda <handa>
Thu, 7 Sep 2006 10:16:42 +0000 (10:16 +0000)
committerhanda <handa>
Thu, 7 Sep 2006 10:16:42 +0000 (10:16 +0000)
src/database.c

index 5ffdecd..e8568e4 100644 (file)
@@ -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