harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r615224 - /harmony/enhanced/classlib/trunk/modules/archive/src/main/native/zip/shared/zipsup.c
Date Fri, 25 Jan 2008 13:52:11 GMT
Author: tellison
Date: Fri Jan 25 05:52:11 2008
New Revision: 615224

URL: http://svn.apache.org/viewvc?rev=615224&view=rev
Log:
Fix for HARMONY-5427 (Harmony fails to fully read an Avalon jar file)
Misunderstanding of return code for creating a new cache meant we took the wrong branch
when the cache could not be re-created.


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

Modified: harmony/enhanced/classlib/trunk/modules/archive/src/main/native/zip/shared/zipsup.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/archive/src/main/native/zip/shared/zipsup.c?rev=615224&r1=615223&r2=615224&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/archive/src/main/native/zip/shared/zipsup.c (original)
+++ harmony/enhanced/classlib/trunk/modules/archive/src/main/native/zip/shared/zipsup.c Fri
Jan 25 05:52:11 2008
@@ -1396,7 +1396,7 @@
                   return ZIP_ERR_FILE_CORRUPT;  /* should never happen! */
                 }
               result = zip_establishCache (portLib, zipFile);
-              if (result)
+              if (!result)
                 {
                   /* (silently start operating without a cache if we couldn't make a new
one) */
                 }



Mime
View raw message