]> git.ipfire.org Git - thirdparty/gcc.git/commit
libstdc++: Fix fwrite error parameter
authorTianqiang Shuai <1101282468@qq.com>
Wed, 5 Jul 2023 16:07:51 +0000 (17:07 +0100)
committerJonathan Wakely <jwakely@redhat.com>
Thu, 6 Jul 2023 20:41:44 +0000 (21:41 +0100)
commitbb4f8f14ed15310b5e01f1c6013585550debdab9
treec1a2bec7748a794b0bf05d088d88f5ff4b6b7e28
parent3a61ca1b9256535e1bfb19b2d46cde21f3908a5d
libstdc++: Fix fwrite error parameter

The first parameter of fwrite should be the const char* __s which want
write to FILE *__file, rather than the FILE *__file write to the FILE
*__file.

libstdc++-v3/ChangeLog:

* config/io/basic_file_stdio.cc (xwrite) [USE_STDIO_PURE]: Fix
first argument.
libstdc++-v3/config/io/basic_file_stdio.cc