[PATCH] libstdc++/71036 Handle EEXIST in filesystem::create_directory

2016-05-10 Thread Jonathan Wakely
Another bug Eric noticed. I had tests for create_directories() but not create_directory(), and the former was already checking whether it existed or not, so I didn't notice this bug. PR libstdc++/71036 * src/filesystem/ops.cc (create_dir): Handle EEXIST from mkdir. * tests

[PATCH] libstdc++/71036 Handle EEXIST in filesystem::create_directory

2016-05-10 Thread redi
Another bug Eric noticed. I had tests for create_directories() but not create_directory(), and the former was already checking whether it existed or not, so I didn't notice this bug. PR libstdc++/71036 * src/filesystem/ops.cc (create_dir): Handle EEXIST from mkdir. * tests