libstdc++/71036 Handle EEXIST in filesystem::create_directory
authorJonathan Wakely <jwakely@redhat.com>
Tue, 10 May 2016 13:04:21 +0000 (14:04 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Tue, 10 May 2016 13:04:21 +0000 (14:04 +0100)
commitf9a39467b6a282bc7fba47fd8cf1e44413e7508f
treeb0b5ace8f7cf34e0f069359df6dc21b5023946eb
parent927d22fa017bb0bdfcb221e64f13b4e548f697aa
libstdc++/71036 Handle EEXIST in filesystem::create_directory

PR libstdc++/71036
* src/filesystem/ops.cc (create_dir): Handle EEXIST from mkdir.
* testsuite/experimental/filesystem/operations/create_directory.cc:
New test.

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