| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] |
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0005671 | OCaml | OCaml runtime system | public | 2012-07-06 15:35 | 2013-06-14 22:20 |
|
| Reporter | oandrieu | |
| Assigned To | | |
| Priority | normal | Severity | crash | Reproducibility | N/A |
| Status | resolved | Resolution | fixed | |
| Platform | | OS | | OS Version | |
| Product Version | 4.00.0+beta2/+rc1 | |
| Target Version | 4.00.0+dev | Fixed in Version | 4.00.0+dev | |
|
| Summary | 0005671: missing initializer in caml_final_custom_operations |
| Description | The function caml_final_custom_operations() doesn't initialize the new field 'compare_ext' of the custom ops structure. |
| Tags | No tags attached. |
|
| Attached Files | ocaml4-final_custom.patch [^] (473 bytes) 2012-07-06 15:35 [Show Content] [Hide Content]--- byterun/custom.c~ 2011-07-27 16:17:02.000000000 +0200
+++ byterun/custom.c 2012-07-06 15:15:01.892449096 +0200
@@ -83,6 +83,7 @@ struct custom_operations * caml_final_cu
ops->hash = custom_hash_default;
ops->serialize = custom_serialize_default;
ops->deserialize = custom_deserialize_default;
+ ops->compare_ext = custom_compare_ext_default;
l = caml_stat_alloc(sizeof(struct custom_operations_list));
l->ops = ops;
l->next = custom_ops_final_table;
|
|