[PR #572] [CLOSED] s3fs.cpp:using string::back() instead as the C++11 recommend #1551

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

📋 Pull Request Information

Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/572
Author: @ghost
Created: 5/2/2017
Status: Closed

Base: masterHead: s3fs-folder-improve


📝 Commits (1)

  • 84b8876 s3fs.cpp:using string::back() instead as the C++11 recommend

📊 Changes

4 files changed (+23 additions, -23 deletions)

View changed files

📝 src/cache.cpp (+3 -3)
📝 src/curl.cpp (+2 -2)
📝 src/s3fs.cpp (+14 -14)
📝 src/s3fs_util.cpp (+4 -4)

📄 Description

Signed-off-by: liuyuhong liuyuhong@cmss.chinamobile.com

Details

using string()::back() instead of length()-1 as the C++11 recommend


🔄 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/572 **Author:** [@ghost](https://github.com/ghost) **Created:** 5/2/2017 **Status:** ❌ Closed **Base:** `master` ← **Head:** `s3fs-folder-improve` --- ### 📝 Commits (1) - [`84b8876`](https://github.com/s3fs-fuse/s3fs-fuse/commit/84b88765ab949683d44eae8062d358c037e2fb9f) s3fs.cpp:using string::back() instead as the C++11 recommend ### 📊 Changes **4 files changed** (+23 additions, -23 deletions) <details> <summary>View changed files</summary> 📝 `src/cache.cpp` (+3 -3) 📝 `src/curl.cpp` (+2 -2) 📝 `src/s3fs.cpp` (+14 -14) 📝 `src/s3fs_util.cpp` (+4 -4) </details> ### 📄 Description Signed-off-by: liuyuhong <liuyuhong@cmss.chinamobile.com> #### Details using string()::back() instead of length()-1 as the C++11 recommend --- <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:01 +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#1551
No description provided.