[m-rev.] trivial diff: fix bug in parsing of debugger `view' command

David Overton dmo at cs.mu.OZ.AU
Thu Feb 21 12:54:27 AEDT 2002


Estimated hours taken: 0.1
Branches: main

trace/mercury_trace_internal.c:
	Fix a bug when parsing the -s and -n options to the debugger `view'
	command.

Index: mercury_trace_internal.c
===================================================================
RCS file: /home/mercury1/repository/mercury/trace/mercury_trace_internal.c,v
retrieving revision 1.115
diff -u -r1.115 mercury_trace_internal.c
--- mercury_trace_internal.c	20 Feb 2002 03:14:48 -0000	1.115
+++ mercury_trace_internal.c	21 Feb 2002 01:28:37 -0000
@@ -3394,7 +3394,7 @@
 				break;
 
 			case 's':
-				if (*close) {
+				if (*close_window) {
 					MR_trace_usage(cat, item);
 					return MR_FALSE;
 				}
@@ -3403,7 +3403,7 @@
 				break;
 
 			case 'n':
-				if (*close) {
+				if (*close_window) {
 					MR_trace_usage(cat, item);
 					return MR_FALSE;
 				}
-- 
David Overton      Computer Science and Software Engineering
PhD Student        The University of Melbourne   +61 3 8344 9159
Research Fellow    Monash University (Clayton)   +61 3 9905 5779
--------------------------------------------------------------------------
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