The changed, isopen, locked, and readonly fields of the db are booleans.

This commit is contained in:
nekral-guest 2008-05-26 08:51:45 +00:00
parent 964f68630a
commit 4f38c8d201
2 changed files with 6 additions and 4 deletions

View File

@ -8,6 +8,8 @@
* lib/shadowio.h, lib/shadowio.c: spw_file_present returns a bool. * lib/shadowio.h, lib/shadowio.c: spw_file_present returns a bool.
* lib/shadowio.h: Add protection against multiple inclusions. * lib/shadowio.h: Add protection against multiple inclusions.
* lib/shadowio.c: The changed, isopen, locked, and readonly fields
of the db are booleans.
2008-05-26 Nicolas François <nicolas.francois@centraliens.net> 2008-05-26 Nicolas François <nicolas.francois@centraliens.net>

View File

@ -99,10 +99,10 @@ static struct commonio_db shadow_db = {
NULL, /* head */ NULL, /* head */
NULL, /* tail */ NULL, /* tail */
NULL, /* cursor */ NULL, /* cursor */
0, /* changed */ false, /* changed */
0, /* isopen */ false, /* isopen */
0, /* locked */ false, /* locked */
0 /* readonly */ false /* readonly */
}; };
int spw_name (const char *filename) int spw_name (const char *filename)