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]

Patch for Preview: Some GCJ 3.3/MingW Fixes


Mohan Embar writes:
 > -  
 > +
 >    // Install exception handler
 >    SetUnhandledExceptionFilter (win32_exception_handler);
 > -  
 > +
 >    // Initialize our executable name
 >    GetModuleFileName(NULL, exec_name, sizeof(exec_name));
 > @@ -104,5 +105,5 @@
 >        _Jv_Free (buffer);
 >      }
 > -  
 > +
 >    // Use GetUserName to set 'user.name'.
 >    buflen = 257;  // UNLEN + 1
 > @@ -115,6 +116,6 @@
 >      }
 >  
 > -  // According to the api documentation for 'GetWindowsDirectory()', the 
 > -  // environmental variable HOMEPATH always specifies the user's home 
 > +  // According to the api documentation for 'GetWindowsDirectory()', the
 > +  // environmental variable HOMEPATH always specifies the user's home
 >    // directory or a default directory.  On the 3 windows machines I checked
 >    // only 1 had it set.  If it's not set, JDK1.3.1 seems to set it to
 > @@ -131,5 +132,5 @@
 >              {
 >                if (GetWindowsDirectory (winHome, MAX_PATH))
 > -		SET ("user.home", winHome);
 > +        SET ("user.home", winHome);
 >                _Jv_Free (winHome);
 >              }
 > @@ -149,5 +150,5 @@
 >          {
 >            sprintf (buffer, "%d.%d", (int) osvi.dwMajorVersion,
 > -		   (int) osvi.dwMinorVersion);
 > +           (int) osvi.dwMinorVersion);
 >            SET ("os.version", buffer);
 >            _Jv_Free (buffer);
 > @@ -164,5 +165,5 @@
 >                SET ("os.name", "Windows Me");
 >              else
 > -              SET ("os.name", "Windows ??"); 
 > +              SET ("os.name", "Windows ??");

These are null changes.

There seems to be some sort of problem with this diff.

Andrew.


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