| Summary: | REGRESSION(259689@main): [GLib] openFile() fails to create files | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Alicia Boya García <aboya> |
| Component: | WebKitGTK | Assignee: | Alicia Boya García <aboya> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | bugs-noreply, mcatanzaro, sihui_liu, zdobersek |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
|
Description
Alicia Boya García
2023-03-31 07:52:06 PDT
I'm working on a fix. This turned out to be a bigger rabbit hole than I expected. I'm not very happy with GIO's API. The previous table I made is incorrect, as g_file_replace_readwrite() followed by a close() effectively truncates the file. Pull request: https://github.com/WebKit/WebKit/pull/12511 Committed 263367@main (78d2561b2bf7): <https://commits.webkit.org/263367@main> Reviewed commits have been landed. Closing PR #12511 and removing active labels. |