summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2018-07-25 04:46:32 +0000
committerEric Fiselier <eric@efcs.ca>2018-07-25 04:46:32 +0000
commit84e48004cf7e2a9827cd025d35719808a699ed27 (patch)
tree6b42345a1473adb372b30666efb71a09d1aaadc3 /lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
parent6508929da9b2d7729f0047ce798fd648e3d63c3a (diff)
Fix bugs in create_directory implementation.
Libc++ was incorrectly reporting an error when the target of create_directory already exists, but was not a directory. This behavior is not specified in the most recent standard, which says no error should be reported. Additionally, libc++ failed to report an error when the attribute directory path didn't exist or didn't name a directory. This has been fixed as well. Although it's not clear if we should call status or symlink_status on the attribute directory. This patch chooses to still call status. llvm-svn: 337888
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp')
0 files changed, 0 insertions, 0 deletions