[PATCH] PR libstdc++/86597 directory_entry observers should clear error_code

Jonathan Wakely jwakely@redhat.com
Wed Aug 8 13:09:00 GMT 2018


On 08/08/18 14:08 +0100, Jonathan Wakely wrote:
>	PR libstdc++/86597
>	* include/bits/fs_dir.h (directory_entry::_M_file_type(error_code&)):
>	Clear error_code when cached type is used.
>	* testsuite/27_io/filesystem/directory_entry/86597.cc: New test.
>
>Committed to trunk, gcc-8 backport to follow.

Oops, wrong patch, this is the right one.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.txt
Type: text/x-patch
Size: 3092 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20180808/8b588d8d/attachment.bin>


More information about the Gcc-patches mailing list