Skip to content

Conversation

@mauke
Copy link
Contributor

@mauke mauke commented Dec 6, 2023

On Linux, several filesystems support the O_TMPFILE flag in open(2), which allows creating an unlinked (unnamed) file. Check for the O_TMPFILE flag and if present, export it from the Fcntl module on request.

Fixes #21694.

On Linux, several filesystems support the O_TMPFILE flag in open(2),
which allows creating an unlinked (unnamed) file. Check for the
O_TMPFILE flag and if present, export it from the Fcntl module on
request.

Fixes Perl#21694.
Copy link
Contributor

@leonerd leonerd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Don't forget to perldelta

@mauke mauke merged commit 8acce4d into Perl:blead Dec 7, 2023
@mauke mauke deleted the fcntl-o_tmpfile branch December 7, 2023 17:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add O_TMPFILE to Fcntl?

4 participants