git-svn: trunk@4833
Török Edvin authored on 2009/02/19 06:34:40... | ... |
@@ -1,3 +1,8 @@ |
1 |
+Thu Feb 19 00:05:03 EET 2009 (edwin) |
|
2 |
+------------------------------------ |
|
3 |
+ * libclamav/regex_suffix.c: n->type has to be first field (revert |
|
4 |
+ bug introduced in field reorder commit). |
|
5 |
+ |
|
1 | 6 |
Wed Feb 18 23:25:15 EET 2009 (edwin) |
2 | 7 |
------------------------------------ |
3 | 8 |
* clamd/server-th.c: fix NetBSD build |
... | ... |
@@ -45,6 +45,7 @@ enum node_type { |
45 | 45 |
}; |
46 | 46 |
|
47 | 47 |
struct node { |
48 |
+ enum node_type type; /* must be first field */ |
|
48 | 49 |
struct node *parent; |
49 | 50 |
union { |
50 | 51 |
struct { |
... | ... |
@@ -54,7 +55,6 @@ struct node { |
54 | 54 |
uint8_t* leaf_class_bitmap; |
55 | 55 |
uint8_t leaf_char; |
56 | 56 |
} u; |
57 |
- enum node_type type; |
|
58 | 57 |
}; |
59 | 58 |
|
60 | 59 |
/* --- Prototypes --*/ |