[PR #1871] [MERGED] Always call clock_gettime(2) #2221

Closed
opened 2026-03-04 02:04:25 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/1871
Author: @gaul
Created: 1/24/2022
Status: Merged
Merged: 1/24/2022
Merged by: @ggtakec

Base: masterHead: clock_gettime


📝 Commits (1)

  • 42fd73f Always call clock_gettime(2)

📊 Changes

2 files changed (+5 additions, -25 deletions)

View changed files

📝 README.md (+1 -1)
📝 src/cache.cpp (+4 -24)

📄 Description

e01ded9e27 introduced this compatibility
shim but macOS 10.12 (2016) added this:
https://stackoverflow.com/a/39801564 . Also remove fallback to
time(3) which loses precision.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/s3fs-fuse/s3fs-fuse/pull/1871 **Author:** [@gaul](https://github.com/gaul) **Created:** 1/24/2022 **Status:** ✅ Merged **Merged:** 1/24/2022 **Merged by:** [@ggtakec](https://github.com/ggtakec) **Base:** `master` ← **Head:** `clock_gettime` --- ### 📝 Commits (1) - [`42fd73f`](https://github.com/s3fs-fuse/s3fs-fuse/commit/42fd73f274a4872408a24ca9f7172ae946032cfd) Always call clock_gettime(2) ### 📊 Changes **2 files changed** (+5 additions, -25 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+1 -1) 📝 `src/cache.cpp` (+4 -24) </details> ### 📄 Description e01ded9e27f41af45e8614860b29164d13c0101e introduced this compatibility shim but macOS 10.12 (2016) added this: https://stackoverflow.com/a/39801564 . Also remove fallback to `time(3)` which loses precision. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-04 02:04:25 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/s3fs-fuse#2221
No description provided.