[PR #611] [MERGED] Fixed clock_gettime build failure on macOS 10.12 Sierra - #600 #1573

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

📋 Pull Request Information

Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/611
Author: @ggtakec
Created: 5/28/2017
Status: Merged
Merged: 5/28/2017
Merged by: @ggtakec

Base: masterHead: master


📝 Commits (1)

  • 0c6a388 Fixed clock_gettime build failure on macOS 10.12 Sierra - #600

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 src/cache.cpp (+1 -1)

📄 Description

Relevant Issue (if applicable)

#600

Details

Sierra has clock_gettime function, but s3fs code does not convert first argument(cast).
Then it is an error as wrong variable type .
So it is cast to clockid_t.


🔄 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/611 **Author:** [@ggtakec](https://github.com/ggtakec) **Created:** 5/28/2017 **Status:** ✅ Merged **Merged:** 5/28/2017 **Merged by:** [@ggtakec](https://github.com/ggtakec) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`0c6a388`](https://github.com/s3fs-fuse/s3fs-fuse/commit/0c6a3882a27483f0fd9f5196be7cf3e2836f6654) Fixed clock_gettime build failure on macOS 10.12 Sierra - #600 ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `src/cache.cpp` (+1 -1) </details> ### 📄 Description #### Relevant Issue (if applicable) #600 #### Details Sierra has clock_gettime function, but s3fs code does not convert first argument(cast). Then it is an error as wrong variable type . So it is cast to clockid_t. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-04 02:01:07 +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#1573
No description provided.