]> git.pond.sub.org Git - empserver/commitdiff
Fix empfile[EF_VERSION].flags and .csize
authorMarkus Armbruster <armbru@pond.sub.org>
Mon, 1 Sep 2008 01:08:55 +0000 (21:08 -0400)
committerMarkus Armbruster <armbru@pond.sub.org>
Thu, 4 Sep 2008 00:43:13 +0000 (20:43 -0400)
csize was 0 instead of 1, and flags was 0 instead of EFF_STATIC.
xdump didn't care.

src/lib/global/file.c

index a44233d04333f809cf57992e3058739cdbc713df..72b1f81ce336d04ab228201fdd5c29dc2710ad00 100644 (file)
@@ -195,14 +195,15 @@ struct empfile empfile[] = {
     {EF_TABLE, "table", NULL, empfile_ca,
      ARRAY_TABLE(empfile, EFF_CFG)},
     {EF_VERSION, "version", NULL, NULL,
-     sizeof(PACKAGE_STRING), 0, version, 0, 0, 1, 1, -1, NULL, NULL},
+     sizeof(PACKAGE_STRING), EFF_STATIC, version, 1, 0, 1, 1, -1,
+     NULL, NULL},
     {EF_META, "meta", NULL, mdchr_ca,
      PTR_CACHE(mdchr_ca, EFF_CFG)},
 
     /*
      * Symbol tables
      *
-     * These get bogus size, cids and fids here.  Fixed up by
+     * These get bogus csize, cids and fids here.  Fixed up by
      * empfile_init().
      */
 #define SYMTAB(type, name, tab) \