From 270d1d643e88f652ba75cf06dde3fc887c4f8eed Mon Sep 17 00:00:00 2001 From: Iain Buclaw Date: Wed, 5 May 2021 00:28:44 +0200 Subject: [PATCH] libphobos: Fix visibility of std.process.searchPathFor This symbol is used by std.file.thisExePath on OpenBSD. libphobos/ChangeLog: * src/std/process.d (searchPathFor): Change visibility to package. (cherry picked from commit cecc437e952e35f8a7907553586605cbd0bba82a) --- libphobos/src/std/process.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libphobos/src/std/process.d b/libphobos/src/std/process.d index 9cbeca8e9a8..63ec49365b9 100644 --- a/libphobos/src/std/process.d +++ b/libphobos/src/std/process.d @@ -887,7 +887,7 @@ version (Windows) @system unittest // Searches the PATH variable for the given executable file, // (checking that it is in fact executable). version (Posix) -private string searchPathFor(in char[] executable) +package(std) string searchPathFor(in char[] executable) @trusted //TODO: @safe nothrow { import std.algorithm.iteration : splitter;