]> git.pond.sub.org Git - empserver/commitdiff
Fix EFF_IMMUTABLE to include EFF_SENTINEL
authorMarkus Armbruster <armbru@pond.sub.org>
Wed, 27 Apr 2011 17:46:15 +0000 (19:46 +0200)
committerMarkus Armbruster <armbru@pond.sub.org>
Sat, 25 Jun 2011 14:50:05 +0000 (16:50 +0200)
ef_open() and ef_close() clear EFF_SENTINEL because of that.  Broken
since commit 1492845c (v4.3.17) added EFF_SENTINEL.  Harmless, as no
file-backed table has a sentinel.

include/file.h

index bd6ff3b1d42ab38e3c93f422e0176e4f674d995f..c5887efcc39392272a223adf4ee50a7d7d32c9ac 100644 (file)
@@ -114,7 +114,7 @@ struct emptypedstr {
 #define EFF_SENTINEL   bit(5)
 /* All the immutable flags */
 #define EFF_IMMUTABLE \
-    (EFF_TYPED | EFF_XY | EFF_OWNER | EFF_GROUP | EFF_STATIC)
+    (EFF_TYPED | EFF_XY | EFF_OWNER | EFF_GROUP | EFF_STATIC | EFF_SENTINEL)
 /* Flags set when table contents is mapped */
 /* Table is entirely in memory */
 #define EFF_MEM                bit(8)