This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH]: adds missing System properties for gcj under mingw


>>>>> "Anthony" == Anthony Green <green@redhat.com> writes:

Anthony> Shouldn't this be _Jv_Free?

Grr.  Yes, sorry about that.  Adam and/or Adam, can you test it with
this patch?  I don't want to screw up again.

Tom

Index: ChangeLog
from  Tom Tromey  <tromey@redhat.com>

	* win32.cc (_Jv_platform_initProperties): Fix spelling of _Jv_Free.

Index: win32.cc
===================================================================
RCS file: /cvs/gcc/gcc/libjava/win32.cc,v
retrieving revision 1.4.8.6
diff -u -r1.4.8.6 win32.cc
--- win32.cc 11 Apr 2002 15:56:33 -0000 1.4.8.6
+++ win32.cc 11 Apr 2002 21:28:10 -0000
@@ -88,7 +88,7 @@
       if (GetTempPath (buflen, buffer))
 	SET ("java.io.tmpdir", buffer);
 
-      _Jv_free (buffer);
+      _Jv_Free (buffer);
     }
   
   // Use GetUserName to set 'user.name'.
@@ -98,7 +98,7 @@
     {
       if (GetUserName (buffer, &buflen))
         SET ("user.name", buffer);
-      _Jv_free (buffer);
+      _Jv_Free (buffer);
     }
 
   // According to the api documentation for 'GetWindowsDirectory()', the 
@@ -118,7 +118,7 @@
             {
               if (GetWindowsDirectory (winHome, MAX_PATH))
 		SET ("user.home", winHome);
-              _Jv_free (winHome);
+              _Jv_Free (winHome);
             }
         }
      }
@@ -137,7 +137,7 @@
           sprintf (buffer, "%d.%d", (int) osvi.dwMajorVersion,
 		   (int) osvi.dwMinorVersion);
           SET ("os.version", buffer);
-          _Jv_free (buffer);
+          _Jv_Free (buffer);
         }
 
       switch (osvi.dwPlatformId)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]