https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86597

--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Author: redi
Date: Wed Aug  8 15:33:32 2018
New Revision: 263412

URL: https://gcc.gnu.org/viewcvs?rev=263412&root=gcc&view=rev
Log:
PR libstdc++/86597 directory_entry observers should clear error_code

        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.

Added:
   
branches/gcc-8-branch/libstdc++-v3/testsuite/27_io/filesystem/directory_entry/
   
branches/gcc-8-branch/libstdc++-v3/testsuite/27_io/filesystem/directory_entry/86597.cc
Modified:
    branches/gcc-8-branch/libstdc++-v3/ChangeLog
    branches/gcc-8-branch/libstdc++-v3/include/bits/fs_dir.h

Reply via email to