]> Nishi Git Mirror - mandshurica.git/commitdiff
db
authornishi <nishi@f982e544-4a7d-3444-ad1a-fde59a2a69f1>
Sun, 21 Apr 2024 00:05:33 +0000 (00:05 +0000)
committernishi <nishi@f982e544-4a7d-3444-ad1a-fde59a2a69f1>
Sun, 21 Apr 2024 00:05:33 +0000 (00:05 +0000)
git-svn-id: file:///raid/svn-main/nishi-mandshurica/trunk@58 f982e544-4a7d-3444-ad1a-fde59a2a69f1

Mandshurica/db.c

index f47c23e25568eaefb35cb58f62f30c5e2e6087f0..4a9300296e47f6c353a50f1008d93c3118d6207e 100644 (file)
@@ -37,6 +37,7 @@
 #include <string.h>
 
 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));