You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by te...@apache.org on 2008/01/25 14:52:11 UTC
svn commit: r615224 -
/harmony/enhanced/classlib/trunk/modules/archive/src/main/native/zip/shared/zipsup.c
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) */
}