Skip to content

Make utimensat wrapper optionally take timestamps #1845

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
sargun opened this issue Oct 12, 2022 · 2 comments
Closed

Make utimensat wrapper optionally take timestamps #1845

sargun opened this issue Oct 12, 2022 · 2 comments

Comments

@sargun
Copy link

sargun commented Oct 12, 2022

Right now, you have to pass both mtime and atime to the utimensat syscall wrapper. Infact, this is not required, and you can skip one of them by setting it to the magic value UTIME_OMIT. We should allow this. I'm not sure if this is a "stable" API or not.

@SteveLauC
Copy link
Member

Yes, I also want this. See #1834

@rtzoeller
Copy link
Collaborator

Closing as duplicate of #1834.

@rtzoeller rtzoeller closed this as not planned Won't fix, can't repro, duplicate, stale Oct 13, 2022
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

No branches or pull requests

3 participants