Bug 38908

Summary: Android's writeToFile() is buggy
Product: WebKit Reporter: Steve Block <steveblock>
Component: WebKit Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: android-webkit-unforking, commit-queue
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Android   
OS: Android   
Attachments:
Description Flags
Patch none

Description Steve Block 2010-05-11 08:15:02 PDT
Android's version of writeToFile() attempts to handle the case where the write is interrupted part way through such that the number of bytes written is less than the number of bytes requested. However, the implementation is buggy as the data pointer is not updated when the write is re-tried.

We should remove the Android-specific version and use the POSIX version.
Comment 1 Steve Block 2010-05-11 09:11:21 PDT
Created attachment 55708 [details]
Patch
Comment 2 WebKit Commit Bot 2010-05-12 05:51:38 PDT
Comment on attachment 55708 [details]
Patch

Clearing flags on attachment: 55708

Committed r59226: <http://trac.webkit.org/changeset/59226>
Comment 3 WebKit Commit Bot 2010-05-12 05:51:42 PDT
All reviewed patches have been landed.  Closing bug.