harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From regi...@apache.org
Subject svn commit: r834882 - /harmony/enhanced/classlib/branches/java6/modules/instrument/src/main/native/instrument/shared/inst_agt.c
Date Wed, 11 Nov 2009 13:53:39 GMT
Author: regisxu
Date: Wed Nov 11 13:53:39 2009
New Revision: 834882

URL: http://svn.apache.org/viewvc?rev=834882&view=rev
Log:
flag of zip_getZipEntry should be ZIP_FLAG_READ_DATA_POINTER when inovking  via vmi zip API.

Modified:
    harmony/enhanced/classlib/branches/java6/modules/instrument/src/main/native/instrument/shared/inst_agt.c

Modified: harmony/enhanced/classlib/branches/java6/modules/instrument/src/main/native/instrument/shared/inst_agt.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/branches/java6/modules/instrument/src/main/native/instrument/shared/inst_agt.c?rev=834882&r1=834881&r2=834882&view=diff
==============================================================================
--- harmony/enhanced/classlib/branches/java6/modules/instrument/src/main/native/instrument/shared/inst_agt.c
(original)
+++ harmony/enhanced/classlib/branches/java6/modules/instrument/src/main/native/instrument/shared/inst_agt.c
Wed Nov 11 13:53:39 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