PR libstdc++/67747 use readdir instead of readdir_r
authorJonathan Wakely <jwakely@redhat.com>
Fri, 2 Oct 2015 16:34:34 +0000 (17:34 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 2 Oct 2015 16:34:34 +0000 (17:34 +0100)
commit7b65155f1ccbfd741191f03a01fbc40d3ae39cf0
tree5e56fc637df93f9331eb52d4ee89ef587b81bd45
parent000051e1c5c5d81f3fc8dbd7f9800f2d13a188b5
PR libstdc++/67747 use readdir instead of readdir_r

PR libstdc++/67747
* src/filesystem/dir.cc (native_readdir): Remove.
(_Dir::advance): Use readdir instead of native_readdir.
(recursive_directory_iterator(const path&, directory_options,
error_code*)): Use swap instead of reset.

From-SVN: r228404
libstdc++-v3/ChangeLog
libstdc++-v3/src/filesystem/dir.cc