harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From regi...@apache.org
Subject svn commit: r881102 - /harmony/enhanced/classlib/trunk/modules/instrument/src/main/native/instrument/shared/inst_agt.c
Date Tue, 17 Nov 2009 02:28:18 GMT
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



Mime
View raw message