From 383a6a13348ce560a2d4fa205830fb73c18881d6 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)); } }