Bug 232499 - Add createTemporaryDirectory implementation to WTF::FileSystem for PlayStation
Summary: Add createTemporaryDirectory implementation to WTF::FileSystem for PlayStation
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: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-10-29 10:46 PDT by Stephan Szabo
Modified: 2022-07-25 13:55 PDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Szabo 2021-10-29 10:46:20 PDT
A recently added test for the curl port wanted to use FileSystem::createTemporaryDirectory, but that doesn't have a POSIX implementation.

It seems reasonable to have an implementation either for POSIX or just PlayStation.
Comment 1 Radar WebKit Bug Importer 2021-11-05 10:47:17 PDT
<rdar://problem/85077118>
Comment 2 serakeri 2022-07-21 12:02:37 PDT
Pull request: https://github.com/WebKit/WebKit/pull/2626
Comment 3 serakeri 2022-07-21 12:23:51 PDT
I drafted a pull request that uses std::filesystem::temp_directory_path and mkdtemp. Is this an acceptable solution?
Comment 4 EWS 2022-07-25 13:55:03 PDT
Committed 252799@main (00e1e0d6e977): <https://commits.webkit.org/252799@main>

Reviewed commits have been landed. Closing PR #2626 and removing active labels.