Bug 226671 - FileSystem::readFromFile() should return data as `void*`
Summary: FileSystem::readFromFile() should return data as `void*`
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Template Framework (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-06-04 18:34 PDT by Chris Dumez
Modified: 2021-06-04 21:48 PDT (History)
22 users (show)

See Also:


Attachments
Patch (23.84 KB, patch)
2021-06-04 18:48 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2021-06-04 18:34:56 PDT
FileSystem::readFromFile() should return data as `void*` instead of `char*`. This is more flexible and consistent with FileSystem::writeToFile().
Comment 1 Chris Dumez 2021-06-04 18:48:00 PDT
Created attachment 430638 [details]
Patch
Comment 2 EWS 2021-06-04 21:47:30 PDT
Committed r278521 (238520@main): <https://commits.webkit.org/238520@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 430638 [details].
Comment 3 Radar WebKit Bug Importer 2021-06-04 21:48:16 PDT
<rdar://problem/78898641>