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:
parent
a4a9cfee01
commit
270d1d643e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user