rdb
3e5f2cf672
flt: fix crash due to macOS libc++ bug in istream::eof()
...
Apparently eof() in older versions of libc++ returns true if the last character has just been read, whereas the proper behavior is only to return true when attempting to read past the end of the stream. Since failbit is reliably set in all cases when reading past the length of the stream, we should only trust the result of eof() if fail() also returns true.
2019-01-09 22:54:36 +01:00
..
2016-02-17 17:47:48 +01:00
2016-02-17 17:47:48 +01:00
2018-06-03 16:35:13 -06:00
2016-02-17 17:47:48 +01:00
2018-06-14 16:04:49 +02:00
2018-06-07 10:35:12 +02:00
2016-02-17 17:47:48 +01:00
2016-02-17 17:47:48 +01:00
2016-02-17 17:47:48 +01:00
2018-06-14 16:04:49 +02:00
2018-06-07 10:35:12 +02:00
2018-06-14 16:04:49 +02:00
2018-06-07 10:35:12 +02:00
2016-02-17 17:47:48 +01:00
2016-02-17 17:47:48 +01:00
2016-02-17 17:47:48 +01:00
2016-02-17 17:47:48 +01:00
2016-02-17 17:47:48 +01:00
2016-02-17 17:47:48 +01:00
2016-02-17 17:47:48 +01:00
2018-06-03 16:35:13 -06:00
2016-02-17 17:47:48 +01:00
2016-02-17 17:47:48 +01:00
2018-06-14 16:04:49 +02:00
2018-06-07 10:35:12 +02:00
2016-02-17 17:47:48 +01:00
2016-02-17 17:47:48 +01:00
2018-06-14 16:04:49 +02:00
2018-06-07 10:35:12 +02:00
2016-02-17 17:47:48 +01:00
2018-06-07 10:35:12 +02:00
2016-02-17 17:47:48 +01:00
2016-02-17 17:47:48 +01:00
2016-02-17 17:47:48 +01:00
2016-02-17 17:47:48 +01:00
2016-02-17 17:47:48 +01:00
2016-02-17 17:47:48 +01:00
2018-06-07 10:35:12 +02:00
2018-06-03 16:35:13 -06:00
2016-02-17 17:47:48 +01:00
2016-02-17 17:47:48 +01:00
2018-06-14 16:04:49 +02:00
2016-02-17 17:47:48 +01:00
2016-02-17 17:47:48 +01:00
2016-02-17 17:47:48 +01:00
2016-02-17 17:47:48 +01:00
2018-06-14 16:04:49 +02:00
2018-06-07 10:35:12 +02:00
2018-06-14 16:04:49 +02:00
2018-06-07 10:35:12 +02:00
2018-06-07 10:35:12 +02:00
2018-06-14 16:04:49 +02:00
2018-06-07 10:35:12 +02:00
2018-06-07 10:35:12 +02:00
2019-01-09 22:54:36 +01:00
2018-06-07 10:35:12 +02:00
2018-06-14 16:04:49 +02:00
2018-06-07 10:35:12 +02:00
2018-06-14 16:04:49 +02:00
2018-06-07 10:35:12 +02:00
2016-02-17 17:47:48 +01:00
2016-02-17 17:47:48 +01:00
2016-02-17 17:47:48 +01:00
2016-02-17 17:47:48 +01:00
2016-02-17 17:47:48 +01:00
2016-02-17 17:47:48 +01:00
2016-02-17 17:47:48 +01:00
2016-02-17 17:47:48 +01:00
2016-02-17 17:47:48 +01:00
2016-02-17 17:47:48 +01:00
2016-02-17 17:47:48 +01:00
2016-02-17 17:47:48 +01:00
2016-02-17 17:47:48 +01:00
2016-02-17 17:47:48 +01:00
2016-02-17 17:47:48 +01:00
2016-02-17 17:47:48 +01:00
2016-02-17 17:47:48 +01:00
2016-02-17 17:47:48 +01:00
2018-06-14 16:04:49 +02:00
2018-06-07 10:35:12 +02:00
2016-02-17 17:47:48 +01:00
2016-02-17 17:47:48 +01:00
2016-02-17 17:47:48 +01:00
2016-02-17 17:47:48 +01:00
2016-02-17 17:47:48 +01:00
2018-06-14 16:04:49 +02:00
2018-06-07 10:35:12 +02:00