From: Iain Buclaw Date: Tue, 4 May 2021 22:28:44 +0000 (+0200) Subject: libphobos: Fix visibility of std.process.searchPathFor X-Git-Tag: releases/gcc-11.2.0~426 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=270d1d643e88f652ba75cf06dde3fc887c4f8eed;p=thirdparty%2Fgcc.git 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) --- diff --git a/libphobos/src/std/process.d b/libphobos/src/std/process.d index 9cbeca8e9a89..63ec49365b92 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;