Fix filesystem::create_directories() function
authorJonathan Wakely <jwakely@redhat.com>
Wed, 23 Sep 2015 11:25:59 +0000 (12:25 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 23 Sep 2015 11:25:59 +0000 (12:25 +0100)
commit366703118cd68810da3cc24ad2f9198d2116fa09
treeff4e5a9a81d0efe649b23b6dbc61d1123497d1ec
parentbe6e26f995d137d8608d6c93c65316b6c3d2617d
Fix filesystem::create_directories() function

* src/filesystem/ops.cc (is_dot, is_dotdot): Define new helpers.
(create_directories): Fix error handling.
* testsuite/experimental/filesystem/operations/create_directories.cc:
New.

From-SVN: r228041
libstdc++-v3/ChangeLog
libstdc++-v3/src/filesystem/ops.cc
libstdc++-v3/testsuite/experimental/filesystem/operations/create_directories.cc [new file with mode: 0644]