Fossil SCM

Resolved a g.th1Flags bitmask collision between TH_STATE_xxx and TH_INIT_NO_ENCODE.

stephan 2021-07-05 16:52 th1-recursive-render
Commit 0dc3a65515974dfd03087be922a1ae3e4e803467cb4e8e901d80afb97c4082a0
1 file changed +3 -3
+3 -3
--- src/th_main.c
+++ src/th_main.c
@@ -46,13 +46,13 @@
4646
4747
/*
4848
** Flags set by functions in this file to keep track of integration state
4949
** information. These flags should not be used outside of this file.
5050
*/
51
-#define TH_STATE_CONFIG ((u32)0x00000020) /* We opened the config. */
52
-#define TH_STATE_REPOSITORY ((u32)0x00000040) /* We opened the repository. */
53
-#define TH_STATE_MASK ((u32)0x00000060) /* All possible state flags. */
51
+#define TH_STATE_CONFIG ((u32)0x00000200) /* We opened the config. */
52
+#define TH_STATE_REPOSITORY ((u32)0x00000400) /* We opened the repository. */
53
+#define TH_STATE_MASK ((u32)0x00000600) /* All possible state flags. */
5454
5555
#ifdef FOSSIL_ENABLE_TH1_HOOKS
5656
/*
5757
** These are the "well-known" TH1 error messages that occur when no hook is
5858
** registered to be called prior to executing a command or processing a web
5959
--- src/th_main.c
+++ src/th_main.c
@@ -46,13 +46,13 @@
46
47 /*
48 ** Flags set by functions in this file to keep track of integration state
49 ** information. These flags should not be used outside of this file.
50 */
51 #define TH_STATE_CONFIG ((u32)0x00000020) /* We opened the config. */
52 #define TH_STATE_REPOSITORY ((u32)0x00000040) /* We opened the repository. */
53 #define TH_STATE_MASK ((u32)0x00000060) /* All possible state flags. */
54
55 #ifdef FOSSIL_ENABLE_TH1_HOOKS
56 /*
57 ** These are the "well-known" TH1 error messages that occur when no hook is
58 ** registered to be called prior to executing a command or processing a web
59
--- src/th_main.c
+++ src/th_main.c
@@ -46,13 +46,13 @@
46
47 /*
48 ** Flags set by functions in this file to keep track of integration state
49 ** information. These flags should not be used outside of this file.
50 */
51 #define TH_STATE_CONFIG ((u32)0x00000200) /* We opened the config. */
52 #define TH_STATE_REPOSITORY ((u32)0x00000400) /* We opened the repository. */
53 #define TH_STATE_MASK ((u32)0x00000600) /* All possible state flags. */
54
55 #ifdef FOSSIL_ENABLE_TH1_HOOKS
56 /*
57 ** These are the "well-known" TH1 error messages that occur when no hook is
58 ** registered to be called prior to executing a command or processing a web
59

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button