[PR #2642] [MERGED] Remove unneeded uses of std::map::operator[] #2684

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

📋 Pull Request Information

Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/2642
Author: @gaul
Created: 2/8/2025
Status: Merged
Merged: 2/9/2025
Merged by: @ggtakec

Base: masterHead: operator-bracket


📝 Commits (1)

  • 88fc97f Remove unneeded uses of std::map::operator[]

📊 Changes

4 files changed (+70 additions, -7 deletions)

View changed files

📝 Makefile.am (+1 -0)
📝 src/s3fs.cpp (+3 -2)
📝 src/s3fs_cred.cpp (+18 -5)
test/map-subscript-read.py (+48 -0)

📄 Description

These unintentionally mutate the map. Script suggested by @danmar.


🔄 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/2642 **Author:** [@gaul](https://github.com/gaul) **Created:** 2/8/2025 **Status:** ✅ Merged **Merged:** 2/9/2025 **Merged by:** [@ggtakec](https://github.com/ggtakec) **Base:** `master` ← **Head:** `operator-bracket` --- ### 📝 Commits (1) - [`88fc97f`](https://github.com/s3fs-fuse/s3fs-fuse/commit/88fc97f1d49391ae3b3d92e69b3779cdd2b30e54) Remove unneeded uses of std::map::operator[] ### 📊 Changes **4 files changed** (+70 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `Makefile.am` (+1 -0) 📝 `src/s3fs.cpp` (+3 -2) 📝 `src/s3fs_cred.cpp` (+18 -5) ➕ `test/map-subscript-read.py` (+48 -0) </details> ### 📄 Description These unintentionally mutate the map. Script suggested by @danmar. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-04 02:06:46 +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#2684
No description provided.