[PR #1733] [MERGED] Make string constants read-only const #2147

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

📋 Pull Request Information

Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/1733
Author: @gaul
Created: 8/1/2021
Status: Merged
Merged: 8/2/2021
Merged by: @ggtakec

Base: masterHead: const-string


📝 Commits (1)

  • 3d3820e Make string constants read-only const

📊 Changes

5 files changed (+38 additions, -38 deletions)

View changed files

📝 src/curl.cpp (+10 -10)
📝 src/curl_util.cpp (+6 -6)
📝 src/s3fs.cpp (+14 -14)
📝 src/string_util.cpp (+4 -4)
📝 src/string_util.h (+4 -4)

📄 Description

This removes some global constructors. Also use a consistent ALL_CAPS
style.


🔄 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/1733 **Author:** [@gaul](https://github.com/gaul) **Created:** 8/1/2021 **Status:** ✅ Merged **Merged:** 8/2/2021 **Merged by:** [@ggtakec](https://github.com/ggtakec) **Base:** `master` ← **Head:** `const-string` --- ### 📝 Commits (1) - [`3d3820e`](https://github.com/s3fs-fuse/s3fs-fuse/commit/3d3820ebc62b2ce1983b246bb0526018f88e491e) Make string constants read-only const ### 📊 Changes **5 files changed** (+38 additions, -38 deletions) <details> <summary>View changed files</summary> 📝 `src/curl.cpp` (+10 -10) 📝 `src/curl_util.cpp` (+6 -6) 📝 `src/s3fs.cpp` (+14 -14) 📝 `src/string_util.cpp` (+4 -4) 📝 `src/string_util.h` (+4 -4) </details> ### 📄 Description This removes some global constructors. Also use a consistent `ALL_CAPS` style. --- <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:00 +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#2147
No description provided.