[m-rev.] diff: infinite loop with --debug-make

Peter Wang wangp at students.cs.mu.OZ.AU
Tue Jan 24 13:45:02 AEDT 2006


Estimated hours taken: 0.1
Branches: main

compiler/make.dependencies.m:
	Fix an infinite loop with `--debug-make'.

Index: compiler/make.dependencies.m
===================================================================
RCS file: /home/mercury1/repository/mercury/compiler/make.dependencies.m,v
retrieving revision 1.21
diff -u -r1.21 make.dependencies.m
--- compiler/make.dependencies.m	17 Nov 2005 15:57:22 -0000	1.21
+++ compiler/make.dependencies.m	24 Jan 2006 02:41:46 -0000
@@ -996,7 +996,7 @@
 
 debug_newer_dependencies(TargetFileName, MaybeTimestamp,
         DepFiles, WriteDepFile, DepTimestamps, !IO) :-
-    debug_msg(debug_newer_dependencies(TargetFileName, MaybeTimestamp,
+    debug_msg(debug_newer_dependencies_2(TargetFileName, MaybeTimestamp,
         DepFiles, WriteDepFile, DepTimestamps), !IO).
 
 :- pred debug_newer_dependencies_2(string::in, maybe_error(timestamp)::in,
--------------------------------------------------------------------------
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