]> gcc.gnu.org Git - gcc.git/commit
libstdc++: Fix undefined FILE* operations in test
authorJonathan Wakely <jwakely@redhat.com>
Thu, 26 Nov 2020 11:25:55 +0000 (11:25 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Thu, 26 Nov 2020 12:04:01 +0000 (12:04 +0000)
commit4cdc67405842946e08e7ddf375e850331530abb7
tree11ecb6e339ef670f6f79b5d6fe6a0453bd9a231e
parente8e0357d129187b24085ce52172c87dbf6c2ecae
libstdc++: Fix undefined FILE* operations in test

We only need to check that the constructor doesn't clear errno, so
there's no need to use an invalid FILE* for that.

libstdc++-v3/ChangeLog:

PR libstdc++/98001
* testsuite/ext/stdio_filebuf/char/79820.cc: Do not pass invalid
FILE* to constructor.

(cherry picked from commit 2762cb1df686fc1ebcee23c7c4f0f6e8bf5a6abc)
libstdc++-v3/testsuite/ext/stdio_filebuf/char/79820.cc
This page took 0.059255 seconds and 5 git commands to generate.