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

Steve Block
Reported 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.
Attachments
Patch (2.20 KB, patch)
2010-05-11 09:11 PDT, Steve Block
no flags
Steve Block
Comment 1 2010-05-11 09:11:21 PDT
WebKit Commit Bot
Comment 2 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>
WebKit Commit Bot
Comment 3 2010-05-12 05:51:42 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.