mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-12 10:13:51 +01:00
#4195: Poco::File::created() on macOS should use birthtime
This commit is contained in:
parent
69fd22c4e0
commit
8a268d4413
@ -200,10 +200,10 @@ Release 1.12.0 (2022-07-08)
|
||||
- GH #3665 MSVC does not properly recognize std version
|
||||
|
||||
|
||||
Release 1.11.8 (2023-10-16)
|
||||
Release 1.11.8 (2023-10-18)
|
||||
===========================
|
||||
|
||||
- GH #1372: Possible deadlock in SessionPool
|
||||
- GH #1372: Possible deadlock in SessionPool
|
||||
- GH #4170: Poco::FileStream is always opened with std::ios::in | std::ios::out bug
|
||||
- GH #4169: Upgrade bundled zlib to 1.3.
|
||||
- GH #4171: Upgrade bundled sqlite to 3.43.1
|
||||
@ -213,6 +213,7 @@ Release 1.11.8 (2023-10-16)
|
||||
- GH #4174: AbstractConfiguration: support Int16/UInt16 and Int32/UInt32
|
||||
- GH #4182: Util: Make load()/save()/clear() operations on configurations thread-safe
|
||||
- GH #4184: Poco::TemporaryFile: make filenames less predictable
|
||||
- GH #4195: Poco::File::created() on macOS should use birthtime
|
||||
|
||||
|
||||
Release 1.11.7 (2023-07-11)
|
||||
|
@ -212,11 +212,7 @@ Timestamp FileImpl::createdImpl() const
|
||||
{
|
||||
poco_assert (!_path.empty());
|
||||
|
||||
#if defined(__APPLE__) && defined(st_birthtime) && !defined(POCO_NO_STAT64) // st_birthtime is available only on 10.5
|
||||
struct stat64 st;
|
||||
if (stat64(_path.c_str(), &st) == 0)
|
||||
return Timestamp::fromEpochTime(st.st_birthtime);
|
||||
#elif defined(__FreeBSD__)
|
||||
#if defined(__FreeBSD__) || (defined(__APPLE__) && defined(_DARWIN_FEATURE_64_BIT_INODE))
|
||||
struct stat st;
|
||||
if (stat(_path.c_str(), &st) == 0)
|
||||
return Timestamp::fromEpochTime(st.st_birthtime);
|
||||
|
@ -216,7 +216,7 @@ AAAIntroduction
|
||||
|
||||
!!Summary of Changes
|
||||
|
||||
- GH #1372: Possible deadlock in SessionPool
|
||||
- GH #1372: Possible deadlock in SessionPool
|
||||
- GH #4170: Poco::FileStream is always opened with std::ios::in | std::ios::out bug
|
||||
- GH #4169: Upgrade bundled zlib to 1.3.
|
||||
- GH #4171: Upgrade bundled sqlite to 3.43.1
|
||||
@ -226,6 +226,7 @@ AAAIntroduction
|
||||
- GH #4174: AbstractConfiguration: support Int16/UInt16 and Int32/UInt32
|
||||
- GH #4182: Util: Make load()/save()/clear() operations on configurations thread-safe
|
||||
- GH #4184: Poco::TemporaryFile: make filenames less predictable
|
||||
- GH #4195: Poco::File::created() on macOS should use birthtime
|
||||
|
||||
|
||||
!!!Release 1.11.7
|
||||
|
Loading…
Reference in New Issue
Block a user