Skip to content
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

Poco::File::created() on macOS should use birthtime #4195

Closed
obiltschnig opened this issue Oct 18, 2023 · 0 comments
Closed

Poco::File::created() on macOS should use birthtime #4195

obiltschnig opened this issue Oct 18, 2023 · 0 comments

Comments

@obiltschnig
Copy link
Member

Since stat64() has been deprecated on macOS some time ago, Poco::FileImpl::createdImpl() should check for _DARWIN_FEATURE_64_BIT_INODE and use struct stat's st_birthtime (as on FreeBSD).

Currently it just falls back to st_ctime.

@obiltschnig obiltschnig added this to the Release 1.11.8 milestone Oct 18, 2023
@obiltschnig obiltschnig self-assigned this Oct 18, 2023
@obiltschnig obiltschnig changed the title Poco::File::created() on macOS Poco::File::created() on macOS should use birthtime Oct 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant