[PR #1357] [MERGED] Call readdir instead of readdir_r #1934

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

📋 Pull Request Information

Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/1357
Author: @gaul
Created: 8/11/2020
Status: Merged
Merged: 8/16/2020
Merged by: @ggtakec

Base: masterHead: readdir


📝 Commits (1)

  • 35090ba Call readdir instead of readdir_r

📊 Changes

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

View changed files

📝 src/fdcache.cpp (+6 -21)

📄 Description

Only a single thread uses this directory stream. Further, modern
implementations are thread-safe by default and deprecated this call:

https://man7.org/linux/man-pages/man3/readdir_r.3.html


🔄 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/1357 **Author:** [@gaul](https://github.com/gaul) **Created:** 8/11/2020 **Status:** ✅ Merged **Merged:** 8/16/2020 **Merged by:** [@ggtakec](https://github.com/ggtakec) **Base:** `master` ← **Head:** `readdir` --- ### 📝 Commits (1) - [`35090ba`](https://github.com/s3fs-fuse/s3fs-fuse/commit/35090ba4d57078904c3173a289c4c43207b85b29) Call readdir instead of readdir_r ### 📊 Changes **1 file changed** (+6 additions, -21 deletions) <details> <summary>View changed files</summary> 📝 `src/fdcache.cpp` (+6 -21) </details> ### 📄 Description Only a single thread uses this directory stream. Further, modern implementations are thread-safe by default and deprecated this call: https://man7.org/linux/man-pages/man3/readdir_r.3.html --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-04 02:02:52 +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#1934
No description provided.