libphobos: Fix visibility of std.process.searchPathFor
authorIain Buclaw <ibuclaw@gdcproject.org>
Tue, 4 May 2021 22:28:44 +0000 (00:28 +0200)
committerIain Buclaw <ibuclaw@gdcproject.org>
Mon, 10 May 2021 10:14:48 +0000 (12:14 +0200)
This symbol is used by std.file.thisExePath on OpenBSD.

Reviewed-on: https://github.com/dlang/phobos/pull/8041

libphobos/ChangeLog:

* src/MERGE: Merge upstream phobos 32cfe9b61.

libphobos/src/MERGE
libphobos/src/std/process.d

index 6f97404..49622c5 100644 (file)
@@ -1,4 +1,4 @@
-e6907ff3e28d3c43469c46df4a0426726ecb8631
+32cfe9b61570d52d9885b0208fd20de0d351b51e
 
 The first line of this file holds the git revision number of the last
 merge done from the dlang/phobos repository.
index 9cbeca8..63ec493 100644 (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;