[m-rev.] for review: fix env var names in example code
Peter Moulder
Peter.Moulder at infotech.monash.edu.au
Tue Aug 19 18:11:04 AEST 2003
Estimated hours taken: 0.2
trace/mercury_trace_external.c:
Documentation: Fix environment variable names in example code.
Index: trace/mercury_trace_external.c
===================================================================
RCS file: /home/mercury1/repository/mercury/trace/mercury_trace_external.c,v
retrieving revision 1.67
diff -d -u -r1.67 mercury_trace_external.c
--- trace/mercury_trace_external.c 6 Nov 2002 02:02:38 -0000 1.67
+++ trace/mercury_trace_external.c 19 Aug 2003 05:04:21 -0000
@@ -226,13 +226,13 @@
bind(sock, Name, Socket_file),
if (do_it_manually) {
printf( "user: you must do\n"
- " setenv MERCURY_INET_DEBUGGER_SOCKET Name\n"
+ " setenv MERCURY_DEBUGGER_INET_SOCKET Name\n"
"and then run the program\n");
... just wait for the user do it ...
} else {
fork()
if (child) {
- setenv(MERCURY_UNIX_DEBUGGER_SOCKET, Name);
+ setenv(MERCURY_DEBUGGER_UNIX_SOCKET, Name);
exec(user program)
}
}
--------------------------------------------------------------------------
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