MPR#7652: Restore accidentally hidden functions in misc.h#1442
MPR#7652: Restore accidentally hidden functions in misc.h#1442gasche merged 1 commit intoocaml:trunkfrom
Conversation
These compatibility aliases were accidentally moved into CAML_INTERNALS in GPR#71.
|
I don't think this fix is correct - existing 3rd party code which calls |
|
My understanding was that caml_stat_free is only required when the runtime is explicitly started with caml_startup_pooled, and then the behavior that you ( @dra27 ) descibe looks correct to me: in this not-the-default mode we want legacy code to break so that it is fixed to preserve the desired invariants. |
|
@gasche is correct: if the runtime is not started with From a comment in |
damiendoligez
left a comment
There was a problem hiding this comment.
The change is obviously correct.
|
Ah, gotcha - I had overlooked/forgotten the difference between normal startup and My only other thought is if we want to do anything with warning pragmas to show the deprecation, but I expect that we don't want to do that, at this stage, for 4.06.0? |
|
Merged in trunk, cherry-picked in 4.06 ( 84a29f4 ). |
These compatibility aliases were accidentally moved into CAML_INTERNALS in #71.
Fixes MPR#7652.