[m-dev.] disable java

Julien Fischer juliensf at students.cs.mu.OZ.AU
Fri Mar 26 15:18:08 AEDT 2004


On Fri, 26 Mar 2004, Zoltan Somogyi wrote:

> Whoever broke the Java grade should fix it and then reenable the
> commented out code.
>

According to the CVS logs the whoever was you ;-)

The culprit appears to be a mispelled variable name in io.m.
The following diff fixes this.

Estimated hours taken: 0.1
Branches main.

library/io.m:
	Fix a mispelled variable name.

Julien.

Index: io.m
===================================================================
RCS file: /home/mercury1/repository/mercury/library/io.m,v
retrieving revision 1.321
diff -u -r1.321 io.m
--- io.m	24 Mar 2004 03:33:41 -0000	1.321
+++ io.m	26 Mar 2004 04:07:58 -0000
@@ -4745,7 +4745,7 @@
 					""Invalid file opening mode"");
 			}
 			try {
-				randomacces = new java.io.RandomAccessFile(
+				randomaccess = new java.io.RandomAccessFile(
 					file, openstring);
 				if (mode == 'a') {
 					seek(SEEK_END, 0);



--------------------------------------------------------------------------
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