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)
This commit is contained in:
Iain Buclaw 2021-05-05 00:28:44 +02:00
parent a4a9cfee01
commit 270d1d643e

View File

@ -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;