OSDN Git Service

Cherry-pick WebKit change 59226 to use standard POSIX version of writeToFile()
authorSteve Block <steveblock@google.com>
Tue, 11 May 2010 15:09:46 +0000 (16:09 +0100)
committerSteve Block <steveblock@google.com>
Wed, 12 May 2010 12:59:10 +0000 (13:59 +0100)
commit2ff981b136267de4c36122d20219b175c7a415b5
tree8b6af226e92a5548a1c2e33148127efd0eabc3a6
parentcae38efe66aa87d4dbcc096e0d59574e6f7122d7
Cherry-pick WebKit change 59226 to use standard POSIX version of writeToFile()

The Android version of writeToFile() tries to support interrupted writes, but
has a bug as the data pointer is not updated. So instead we take the standard
POSIX version.

See https://mondrian.corp.google.com/changelist/75998-p9
and https://bugs.webkit.org/show_bug.cgi?id=38908

Change-Id: I011671211017005a06727e436f92e8458902a7db
WebCore/platform/android/FileSystemAndroid.cpp
WebCore/platform/posix/FileSystemPOSIX.cpp