From 061f704f793df0d523868f54b429daa9f8b1e7a3 Mon Sep 17 00:00:00 2001 From: Antony Polukhin Date: Sat, 21 Dec 2024 16:33:53 +0300 Subject: [PATCH] restore --- include/boost/dll/detail/windows/path_from_handle.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/dll/detail/windows/path_from_handle.hpp b/include/boost/dll/detail/windows/path_from_handle.hpp index 4210df63..d3525523 100644 --- a/include/boost/dll/detail/windows/path_from_handle.hpp +++ b/include/boost/dll/detail/windows/path_from_handle.hpp @@ -29,7 +29,7 @@ namespace boost { namespace dll { namespace detail { inline boost::dll::fs::path path_from_handle(boost::winapi::HMODULE_ handle, std::error_code &ec) { constexpr boost::winapi::DWORD_ ERROR_INSUFFICIENT_BUFFER_ = 0x7A; - constexpr boost::winapi::DWORD_ DEFAULT_PATH_SIZE_ = 2; + constexpr boost::winapi::DWORD_ DEFAULT_PATH_SIZE_ = 260; ec.clear();