[m-dev.] for review: bootstrap hlc.gc.memprof grade

Fergus Henderson fjh at cs.mu.OZ.AU
Thu Aug 10 20:36:36 AEST 2000


On 10-Aug-2000, Peter Ross <peter.ross at miscrit.be> wrote:
> Refactor the code which closes the `Prof.Decl' file.
> 
> mercury_prof.h:
> runtime/mercury_prof.c:
>     Add a new function MR_close_prof_decl_file which closes the
>     `Prof.Decl' file.
>     No longer close `Prof.Decl' from MR_prof_finish.
>     
> mercury_wrapper.c:
>     Call MR_close_prof_decl_file() from do_init_modules().

That looks good.

It would be worth mentioning in the log message that this change fixes
the bug where it was closing the file more than once.

-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>  |  of excellence is a lethal habit"
PGP: finger fjh at 128.250.37.3        |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-developers mailing list
Post messages to:       mercury-developers at cs.mu.oz.au
Administrative Queries: owner-mercury-developers at cs.mu.oz.au
Subscriptions:          mercury-developers-request at cs.mu.oz.au
--------------------------------------------------------------------------



More information about the developers mailing list