From 2a5a9d2f4ba9d2965f43ff0bfd279cfa9a69f899 Mon Sep 17 00:00:00 2001 From: Michael Friedrich Date: Mon, 30 Nov 2015 10:37:57 +0100 Subject: [PATCH] Fix missing path in mkdir() exception fixes #10748 --- lib/base/utility.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/base/utility.cpp b/lib/base/utility.cpp index 3e52ab6ed..834e5dec5 100644 --- a/lib/base/utility.cpp +++ b/lib/base/utility.cpp @@ -707,7 +707,8 @@ void Utility::MkDir(const String& path, int flags) #endif /* _WIN32 */ BOOST_THROW_EXCEPTION(posix_error() << boost::errinfo_api_function("mkdir") - << boost::errinfo_errno(errno)); + << boost::errinfo_errno(errno) + << boost::errinfo_file_name(path)); } }