Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | Fix; second argument of db_get_versioned() is not that of db_get(). |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | jan-manifest-tags |
Files: | files | file ages | folders |
SHA1: |
226e7c28427e9d191d7fb62c25488d19 |
User & Date: | jan 2016-01-03 22:46:00 |
Context
2016-01-03
| ||
22:54 | Add manifest.tags to the list of potentially reserved names and decouple manifest and manifest.uuid from each other. ... (check-in: 142cb7aa user: jan tags: jan-manifest-tags) | |
22:46 | Fix; second argument of db_get_versioned() is not that of db_get(). ... (check-in: 226e7c28 user: jan tags: jan-manifest-tags) | |
21:19 | manifest is a versionable setting. ... (check-in: e5b25095 user: jan tags: jan-manifest-tags) | |
Changes
Changes to src/db.c.
︙ | ︙ | |||
2221 2222 2223 2224 2225 2226 2227 | ** value is a boolean. If it's not a boolean, treat each character as a flag ** to enable a manifest type. This system puts certain boundary conditions on ** which letters can be used to represent flags (any permutation fo flags must ** not be able to fully form one of the boolean values). */ int db_get_manifest_setting(void){ int flg; | > | | 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 | ** value is a boolean. If it's not a boolean, treat each character as a flag ** to enable a manifest type. This system puts certain boundary conditions on ** which letters can be used to represent flags (any permutation fo flags must ** not be able to fully form one of the boolean values). */ int db_get_manifest_setting(void){ int flg; char *zNVVal = db_get("manifest", "off"); char *zVal = db_get_versioned("manifest", zNVVal); if( is_false(zVal) ){ return 0; }else if( is_truth(zVal) ) { return MFESTFLG_RAW|MFESTFLG_UUID; } flg = 0; while( *zVal ){ |
︙ | ︙ |