[Mono-list] System.PAL.IOperatingSystem has typo

Nick Drochak ndrochak@gol.com
Tue, 30 Oct 2001 01:03:15 +0900


I found a typo in System.PAL.IOperatingSystem.

Here's a patch:
Index: IOperatingSystem.cs
===================================================================
RCS file: /cvs/public/mcs/class/corlib/System.PAL/IOperatingSystem.cs,v
retrieving revision 1.2
diff -u -r1.2 IOperatingSystem.cs
--- IOperatingSystem.cs 2001/10/17 17:36:03     1.2
+++ IOperatingSystem.cs 2001/10/29 11:49:02
@@ -172,7 +172,7 @@

                double Cosh(double value);

-               double Exp(dobule d);
+               double Exp(double d);

                double Log(double d);

I'm not sure if Sean is still working on this stuff, but it will need to
be fixed for Jim to fix the Path unit test(s).

Also this is a little confusing since the code that has the typo is not
from the original file from the OCL project.  It was added later by, I
presume, Sean.

Is this the proper way to extend work from another project like OCL?  At
first I was astounded that there could be a typo in the code from Intel,
but then I compared to the original and found out it wasn't in the Intel
code.

In any case, the source for this class must not be in the build scripts
for mcs, otherwise it certainly would have been caught by the compiler.
Can someone check that and fix if necessary.  I don't have any nant
skills yet...


Nick D.