harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From hinde...@apache.org
Subject svn commit: r619821 - /harmony/enhanced/classlib/trunk/modules/archive/src/main/native/archive/shared/zip.c
Date Fri, 08 Feb 2008 10:07:37 GMT
Author: hindessm
Date: Fri Feb  8 02:07:35 2008
New Revision: 619821

URL: http://svn.apache.org/viewvc?rev=619821&view=rev
Log:
Fixing r619649 correctly (compiler warnings only apply when hy.zip.api=true).

Modified:
    harmony/enhanced/classlib/trunk/modules/archive/src/main/native/archive/shared/zip.c

Modified: harmony/enhanced/classlib/trunk/modules/archive/src/main/native/archive/shared/zip.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/archive/src/main/native/archive/shared/zip.c?rev=619821&r1=619820&r2=619821&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/archive/src/main/native/archive/shared/zip.c (original)
+++ harmony/enhanced/classlib/trunk/modules/archive/src/main/native/archive/shared/zip.c Fri
Feb  8 02:07:35 2008
@@ -144,8 +144,9 @@
 {
 #ifdef HY_ZIP_API
   VMI_ACCESS_FROM_ENV(env);
-#endif /* HY_ZIP_API */
+#else
   PORT_ACCESS_FROM_ENV (env);
+#endif /* HY_ZIP_API */
 
   I_32 retval;
   I_32 extraval;
@@ -377,8 +378,9 @@
 {
 #ifdef HY_ZIP_API
   VMI_ACCESS_FROM_ENV(env);
-#endif /* HY_ZIP_API */
+#else
   PORT_ACCESS_FROM_ENV (env);
+#endif /* HY_ZIP_API */
 
   IDATA nextEntryPointer;
   JCLZipFile *jclZipFile = (JCLZipFile *) (IDATA) descriptor;



Mime
View raw message