]> granicus.if.org Git - shadow/commitdiff
The changed, isopen, locked, and readonly fields of the db are booleans.
authornekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Mon, 26 May 2008 08:51:45 +0000 (08:51 +0000)
committernekral-guest <nekral-guest@5a98b0ae-9ef6-0310-add3-de5d479b70d7>
Mon, 26 May 2008 08:51:45 +0000 (08:51 +0000)
ChangeLog
lib/shadowio.c

index cf9865129d9b615f5dc120b903c9fc5cef3dd092..c0fda5c92527e5b94f3bd21b2c15dbbc6a437108 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -8,6 +8,8 @@
 
        * lib/shadowio.h, lib/shadowio.c: spw_file_present returns a bool.
        * 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>
 
index bb59c20cc905db8fb361e8512c8b88b4e5802a79..4e1208f9f083b896a268be6d70d3270d291ac32a 100644 (file)
@@ -99,10 +99,10 @@ static struct commonio_db shadow_db = {
        NULL,                   /* head */
        NULL,                   /* tail */
        NULL,                   /* cursor */
-       0,                      /* changed */
-       0,                      /* isopen */
-       0,                      /* locked */
-       0                       /* readonly */
+       false,                  /* changed */
+       false,                  /* isopen */
+       false,                  /* locked */
+       false                   /* readonly */
 };
 
 int spw_name (const char *filename)