[m-rev.] diff: fix profiling bug

Fergus Henderson fjh at cs.mu.OZ.AU
Thu Aug 22 17:58:00 AEST 2002


Estimated hours taken: 0.25
Branches: main

profiler/mercury_profile.m:
	Delete a bogus call to io__told.
	This was resulting an exception since stayl's 2002/07/02 change
	to library/io.m which trapped attempts to close stdout.

Workspace: /home/ceres/fjh/ws-ceres2/mercury
Index: profiler/mercury_profile.m
===================================================================
RCS file: /home/mercury1/repository/mercury/profiler/mercury_profile.m,v
retrieving revision 1.22
diff -u -d -r1.22 mercury_profile.m
--- profiler/mercury_profile.m	19 Dec 1999 15:54:29 -0000	1.22
+++ profiler/mercury_profile.m	22 Aug 2002 07:51:45 -0000
@@ -186,8 +186,7 @@
 
 		io__set_output_stream(StdOut, _),
 		output__main(OutputProf, IndexMap),
-		io__write_char('\n'),
-		io__told
+		io__write_char('\n')
         ).
 
-- 
Fergus Henderson <fjh at cs.mu.oz.au>  |  "I have always known that the pursuit
The University of Melbourne         |  of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh>  |     -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-reviews mailing list
post:  mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe:   Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------



More information about the reviews mailing list