From d27960843829e2c33b0a8e65e796ae602a1d507f Mon Sep 17 00:00:00 2001 From: nishi Date: Sun, 21 Apr 2024 00:05:33 +0000 Subject: [PATCH] db git-svn-id: file:///raid/svn-main/nishi-mandshurica/trunk@58 f982e544-4a7d-3444-ad1a-fde59a2a69f1 --- Mandshurica/db.c | 1 + 1 file changed, 1 insertion(+) diff --git a/Mandshurica/db.c b/Mandshurica/db.c index f47c23e..4a93002 100644 --- a/Mandshurica/db.c +++ b/Mandshurica/db.c @@ -37,6 +37,7 @@ #include struct ms_db* mandshurica_db_open(const char* path) { + FILE* fp = fopen(path, "r+b"); if(fp != NULL) { struct ms_db* db = malloc(sizeof(*db)); -- 2.43.0