OSDN Git Service

Don't confuse stat and stat64.
authorElliott Hughes <enh@google.com>
Sat, 18 Jan 2014 02:27:27 +0000 (18:27 -0800)
committerElliott Hughes <enh@google.com>
Sat, 18 Jan 2014 02:27:27 +0000 (18:27 -0800)
Bug: 11865851
Change-Id: I45e65036d86c58943b9c273777f3f8be79a6966f

core/jni/com_android_internal_content_NativeLibraryHelper.cpp

index 00da0f7..a860918 100644 (file)
@@ -202,7 +202,7 @@ copyFileIfChanged(JNIEnv *env, void* arg, ZipFileRO* zipFile, ZipEntryRO zipEntr
     }
 
     // Only copy out the native file if it's different.
-    struct stat st;
+    struct stat64 st;
     if (!isFileDifferent(localFileName, uncompLen, modTime, crc, &st)) {
         return INSTALL_SUCCEEDED;
     }