harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r381343 - in /incubator/harmony/enhanced/classlib/trunk/native-src/linux.IA32: archive/zip.c common/iohelp.c
Date Mon, 27 Feb 2006 14:21:09 GMT
Author: tellison
Date: Mon Feb 27 06:21:02 2006
New Revision: 381343

URL: http://svn.apache.org/viewcvs?rev=381343&view=rev
Log:
Apply patch HARMONY-135 (unnecessary inconsistencies between linux and windows code)

Modified:
    incubator/harmony/enhanced/classlib/trunk/native-src/linux.IA32/archive/zip.c
    incubator/harmony/enhanced/classlib/trunk/native-src/linux.IA32/common/iohelp.c

Modified: incubator/harmony/enhanced/classlib/trunk/native-src/linux.IA32/archive/zip.c
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/native-src/linux.IA32/archive/zip.c?rev=381343&r1=381342&r2=381343&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/native-src/linux.IA32/archive/zip.c (original)
+++ incubator/harmony/enhanced/classlib/trunk/native-src/linux.IA32/archive/zip.c Mon Feb
27 06:21:02 2006
@@ -52,7 +52,7 @@
       /* Just return if we can't load the exception class. */
       return;
     }
-  (*env)->ThrowNew (env, exceptionClass, "thrown from C code");
+  (*env)->ThrowNew (env, exceptionClass, message);
 }
 
 jint JNICALL

Modified: incubator/harmony/enhanced/classlib/trunk/native-src/linux.IA32/common/iohelp.c
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/native-src/linux.IA32/common/iohelp.c?rev=381343&r1=381342&r2=381343&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/native-src/linux.IA32/common/iohelp.c (original)
+++ incubator/harmony/enhanced/classlib/trunk/native-src/linux.IA32/common/iohelp.c Mon Feb
27 06:21:02 2006
@@ -485,7 +485,7 @@
     case HYPORT_ERROR_FILE_EXIST:
       return "File already exists";
     case HYPORT_ERROR_FILE_INVAL:
-      return "a parameter is invalid";
+      return "A parameter is invalid";
     case HYPORT_ERROR_FILE_LOOP:
       return "Followed too many symbolic links, possibly stuck in loop";
     case HYPORT_ERROR_FILE_NAMETOOLONG:



Mime
View raw message