Skip to content
Snippets Groups Projects
Commit 2418443e authored by Clinton Stimpson's avatar Clinton Stimpson Committed by Brad King
Browse files

FStream: Fix reading BOM on single-character files

When peeking in a file for a byte order mark, if the file is short
enough to reach end-of-file, clear the istream flags.

CMake-Issue: 15890
Change-Id: I1fa3a1b94b47ad46b568b00b7b82b5380cbfcb21
parent c1149ef6
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment