You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by re...@apache.org on 2009/11/17 03:28:18 UTC
svn commit: r881102 -
/harmony/enhanced/classlib/trunk/modules/instrument/src/main/native/instrument/shared/inst_agt.c
Author: regisxu
Date: Tue Nov 17 02:28:18 2009
New Revision: 881102
URL: http://svn.apache.org/viewvc?rev=881102&view=rev
Log:
r834882 should be also apply to trunk
flag of zip_getZipEntry should be ZIP_FLAG_READ_DATA_POINTER when inovking via vmi zip API.
Modified:
harmony/enhanced/classlib/trunk/modules/instrument/src/main/native/instrument/shared/inst_agt.c
Modified: harmony/enhanced/classlib/trunk/modules/instrument/src/main/native/instrument/shared/inst_agt.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/instrument/src/main/native/instrument/shared/inst_agt.c?rev=881102&r1=881101&r2=881102&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/instrument/src/main/native/instrument/shared/inst_agt.c (original)
+++ harmony/enhanced/classlib/trunk/modules/instrument/src/main/native/instrument/shared/inst_agt.c Tue Nov 17 02:28:18 2009
@@ -191,7 +191,7 @@
retval = zip_getZipEntry(privatePortLibrary, &zipFile, &zipEntry, "META-INF/MANIFEST.MF", TRUE);
#else /* HY_ZIP_API */
zipFuncs->zip_initZipEntry(VMI, &zipEntry);
- retval = zipFuncs->zip_getZipEntry(VMI, &zipFile, &zipEntry, "META-INF/MANIFEST.MF", TRUE);
+ retval = zipFuncs->zip_getZipEntry(VMI, &zipFile, &zipEntry, "META-INF/MANIFEST.MF", ZIP_FLAG_READ_DATA_POINTER);
#endif /* HY_ZIP_API */
if (retval) {
#ifndef HY_ZIP_API