[PR #51] [MERGED] Removed BOM #1325

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

📋 Pull Request Information

Original PR: https://github.com/s3fs-fuse/s3fs-fuse/pull/51
Author: @masahide
Created: 8/26/2014
Status: Merged
Merged: 8/26/2014
Merged by: @ggtakec

Base: masterHead: master


📝 Commits (1)

📊 Changes

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

View changed files

📝 src/common_auth.cpp (+1 -1)
📝 src/gnutls_auth.cpp (+1 -1)
📝 src/nss_auth.cpp (+1 -1)
📝 src/openssl_auth.cpp (+1 -1)
📝 src/s3fs_auth.h (+1 -1)

📄 Description

  • The following compile error occurs.
  • It was the cause of the BOM(UTF-8 byte order mark).
$ make
Making all in src
make[1]: Entering directory `/usr/local/src/s3fs-fuse/src'
if g++ -DPACKAGE_NAME=\"s3fs\" -DPACKAGE_TARNAME=\"s3fs\" -DPACKAGE_VERSION=\"1.77\" -DPACKAGE_STRING=\"s3fs\ 1.77\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"s3fs\" -DVERSION=\"1.77\" -
DHAVE_MALLOC_TRIM=1  -I. -I.  -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -I/usr/include/libxml2 -I/usr/kerberos/include      -g -O2 -Wall -D_FILE_OFFSET_BITS=64 -MT s3fs.o -MD -MP -
MF ".deps/s3fs.Tpo" -c -o s3fs.o s3fs.cpp; \
        then mv -f ".deps/s3fs.Tpo" ".deps/s3fs.Po"; else rm -f ".deps/s3fs.Tpo"; exit 1; fi
In file included from s3fs.cpp:52:
s3fs_auth.h:1: error: stray '\357' in program
s3fs_auth.h:1: error: stray '\273' in program
s3fs_auth.h:1: error: stray '\277' in program
s3fs_auth.h:1: error: stray '#' in program
In file included from s3fs.cpp:52:
s3fs_auth.h:26:2: error: #endif without #if
s3fs_auth.h:1: error: 'ifndef' does not name a type
make[1]: *** [s3fs.o] Error 1
make[1]: Leaving directory `/usr/local/src/s3fs-fuse/src'
make: *** [all-recursive] Error 1

🔄 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/51 **Author:** [@masahide](https://github.com/masahide) **Created:** 8/26/2014 **Status:** ✅ Merged **Merged:** 8/26/2014 **Merged by:** [@ggtakec](https://github.com/ggtakec) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`f1ca5d0`](https://github.com/s3fs-fuse/s3fs-fuse/commit/f1ca5d0340c9b49e9605af1882bbce5568763045) :set nobomb ### 📊 Changes **5 files changed** (+5 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `src/common_auth.cpp` (+1 -1) 📝 `src/gnutls_auth.cpp` (+1 -1) 📝 `src/nss_auth.cpp` (+1 -1) 📝 `src/openssl_auth.cpp` (+1 -1) 📝 `src/s3fs_auth.h` (+1 -1) </details> ### 📄 Description - The following compile error occurs. - It was the cause of the BOM(UTF-8 byte order mark). ``` bash $ make Making all in src make[1]: Entering directory `/usr/local/src/s3fs-fuse/src' if g++ -DPACKAGE_NAME=\"s3fs\" -DPACKAGE_TARNAME=\"s3fs\" -DPACKAGE_VERSION=\"1.77\" -DPACKAGE_STRING=\"s3fs\ 1.77\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"s3fs\" -DVERSION=\"1.77\" - DHAVE_MALLOC_TRIM=1 -I. -I. -D_FILE_OFFSET_BITS=64 -I/usr/include/fuse -I/usr/include/libxml2 -I/usr/kerberos/include -g -O2 -Wall -D_FILE_OFFSET_BITS=64 -MT s3fs.o -MD -MP - MF ".deps/s3fs.Tpo" -c -o s3fs.o s3fs.cpp; \ then mv -f ".deps/s3fs.Tpo" ".deps/s3fs.Po"; else rm -f ".deps/s3fs.Tpo"; exit 1; fi In file included from s3fs.cpp:52: s3fs_auth.h:1: error: stray '\357' in program s3fs_auth.h:1: error: stray '\273' in program s3fs_auth.h:1: error: stray '\277' in program s3fs_auth.h:1: error: stray '#' in program In file included from s3fs.cpp:52: s3fs_auth.h:26:2: error: #endif without #if s3fs_auth.h:1: error: 'ifndef' does not name a type make[1]: *** [s3fs.o] Error 1 make[1]: Leaving directory `/usr/local/src/s3fs-fuse/src' make: *** [all-recursive] Error 1 ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-04 01:53:23 +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#1325
No description provided.