Jonathan Wakely
0bc199fc5d
libstdc++: Override BUFSIZ for Windows targets [PR 94268]
...
This replaces uses of BUFSIZ with a new _GLIBCXX_BUFSIZ macro that can
be overridden in target-specific config headers.
That allows the mingw and mingw-w64 targets to override it, because
BUFSIZ is apparently defined to 512, resulting in poor performance. The
MSVCRT stdio apparently uses 4096, so we use that too.
libstdc++-v3/ChangeLog:
PR libstdc++/94268
* config/os/mingw32-w64/os_defines.h (_GLIBCXX_BUFSIZ):
Define.
* config/os/mingw32/os_defines.h (_GLIBCXX_BUFSIZ):
Define.
* include/bits/fstream.tcc: Use _GLIBCXX_BUFSIZ instead
of BUFSIZ.
* include/ext/stdio_filebuf.h: Likewise.
* include/std/fstream (_GLIBCXX_BUFSIZ): Define.
2020-10-28 13:19:21 +00:00
..
2020-01-01 12:51:42 +01:00
2020-09-22 17:49:48 +01:00
2020-04-30 16:01:43 +01:00
2020-01-01 12:51:42 +01:00
2020-04-30 16:01:43 +01:00
2020-09-10 17:09:15 +01:00
2020-10-05 11:32:10 +01:00
2020-01-01 12:51:42 +01:00
2020-01-01 12:51:42 +01:00
2020-10-14 12:52:47 +01:00
2020-10-14 12:52:47 +01:00
2020-02-27 10:52:28 +00:00
2020-01-01 12:51:42 +01:00
2020-09-30 18:41:12 +01:00
2020-06-15 14:31:26 +01:00
2020-01-01 12:51:42 +01:00
2020-09-10 17:09:16 +01:00
2020-01-01 12:51:42 +01:00
2020-09-02 15:32:11 +01:00
2020-09-02 15:32:11 +01:00
2020-01-01 12:51:42 +01:00
2020-02-15 10:25:23 +00:00
2020-04-17 23:41:04 +01:00
2020-08-11 21:30:05 +02:00
2020-07-06 17:12:29 +01:00
2020-04-15 21:01:42 +01:00
2020-01-01 12:51:42 +01:00
2020-10-27 14:50:37 +00:00
2020-10-28 13:19:21 +00:00
2020-10-05 15:18:56 +01:00
2020-01-01 12:51:42 +01:00
2020-01-01 12:51:42 +01:00
2020-01-01 12:51:42 +01:00
2020-10-20 21:30:22 +02:00
2020-10-20 21:30:22 +02:00
2020-01-01 12:51:42 +01:00
2020-01-01 12:51:42 +01:00
2020-10-08 14:45:37 +01:00
2020-08-06 19:23:14 +01:00
2020-09-22 15:45:54 +01:00
2020-08-11 21:30:05 +02:00
2020-04-15 19:47:48 +01:00
2020-01-01 12:51:42 +01:00
2020-10-27 16:32:53 +00:00
2020-01-01 12:51:42 +01:00
2020-10-27 16:32:53 +00:00
2020-01-01 12:51:42 +01:00
2020-01-01 12:51:42 +01:00
2020-07-06 17:12:29 +01:00
2020-01-01 12:51:42 +01:00
2020-08-19 09:12:55 -04:00
2020-01-01 12:51:42 +01:00
2020-01-01 12:51:42 +01:00
2020-10-19 18:06:51 +01:00
2020-01-01 12:51:42 +01:00
2020-01-01 12:51:42 +01:00
2020-07-07 23:36:29 +01:00
2020-01-01 12:51:42 +01:00
2020-01-01 12:51:42 +01:00
2020-04-22 22:54:34 +01:00
2020-01-01 12:51:42 +01:00
2020-10-08 14:45:36 +01:00
2020-10-09 16:58:32 +01:00
2020-09-22 15:45:54 +01:00
2020-10-08 00:05:53 +01:00
2020-09-22 15:45:54 +01:00
2020-09-22 15:45:54 +01:00
2020-09-22 15:45:54 +01:00
2020-10-08 18:10:05 -04:00
2020-10-21 14:40:54 +01:00
2020-01-28 13:24:09 +00:00
2020-01-01 12:51:42 +01:00
2020-01-01 12:51:42 +01:00
2020-01-01 12:51:42 +01:00
2020-01-01 12:51:42 +01:00
2020-01-01 12:51:42 +01:00
2020-09-11 14:52:40 +01:00
2020-01-01 12:51:42 +01:00
2020-01-01 12:51:42 +01:00
2020-01-01 12:51:42 +01:00
2020-01-01 12:51:42 +01:00
2020-10-06 00:05:11 +01:00
2020-01-01 12:51:42 +01:00
2020-01-01 12:51:42 +01:00
2020-10-26 10:15:45 +00:00
2020-10-22 18:42:03 +01:00
2020-04-08 16:51:59 +01:00
2020-01-01 12:51:42 +01:00
2020-10-27 16:32:53 +00:00
2020-01-01 12:51:42 +01:00
2020-06-19 14:37:52 +01:00
2020-01-01 12:51:42 +01:00
2020-10-13 20:21:55 +01:00
2020-10-12 18:14:01 +01:00
2020-07-31 23:18:51 +02:00
2020-04-28 23:39:38 +01:00
2020-08-12 20:36:00 +01:00
2020-01-01 12:51:42 +01:00
2020-01-01 12:51:42 +01:00
2020-01-01 12:51:42 +01:00
2020-03-27 23:26:03 +00:00
2020-10-02 10:51:31 -04:00
2020-08-12 20:36:00 +01:00
2020-07-06 17:12:29 +01:00
2020-07-06 17:12:29 +01:00
2020-07-06 17:12:29 +01:00
2020-02-26 10:23:17 -05:00
2020-06-19 15:02:54 +01:00
2020-04-19 21:30:15 +01:00
2020-01-01 12:51:42 +01:00
2020-01-01 12:51:42 +01:00
2020-07-06 17:12:29 +01:00
2020-04-19 21:30:15 +01:00
2020-01-01 12:51:42 +01:00
2020-08-19 17:04:49 +01:00
2020-06-19 18:20:05 +01:00
2020-04-17 23:41:04 +01:00
2020-03-18 12:55:29 +00:00
2020-06-04 22:27:47 +02:00
2020-01-01 12:51:42 +01:00
2020-01-01 12:51:42 +01:00
2020-01-01 12:51:42 +01:00
2020-10-09 14:09:36 +01:00
2020-01-01 12:51:42 +01:00
2020-10-19 22:11:39 +01:00
2020-07-29 11:26:42 +02:00
2020-07-29 11:26:42 +02:00
2020-10-22 18:42:03 +01:00
2020-01-01 12:51:42 +01:00
2020-10-28 12:35:44 +00:00
2020-01-01 12:51:42 +01:00
2020-01-01 12:51:42 +01:00
2020-01-01 12:51:42 +01:00
2020-01-01 12:51:42 +01:00