mirror of
https://github.com/golang/go
synced 2024-11-17 06:04:47 -07:00
net/http/cgi: preserve env vars on illumos
Preserve the same environment variables as on solaris. Spotted while reviewing CL 263577. Change-Id: Id479dcf83d6231e9ef1fd2404b400d10082e1d0b Reviewed-on: https://go-review.googlesource.com/c/go/+/263802 Trust: Tobias Klauser <tobias.klauser@gmail.com> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com>
This commit is contained in:
parent
feb984c96b
commit
0709e58bee
@ -45,7 +45,7 @@ var osDefaultInheritEnv = func() []string {
|
||||
return []string{"LD_LIBRARY_PATH", "SHLIB_PATH"}
|
||||
case "irix":
|
||||
return []string{"LD_LIBRARY_PATH", "LD_LIBRARYN32_PATH", "LD_LIBRARY64_PATH"}
|
||||
case "solaris":
|
||||
case "illumos", "solaris":
|
||||
return []string{"LD_LIBRARY_PATH", "LD_LIBRARY_PATH_32", "LD_LIBRARY_PATH_64"}
|
||||
case "windows":
|
||||
return []string{"SystemRoot", "COMSPEC", "PATHEXT", "WINDIR"}
|
||||
|
Loading…
Reference in New Issue
Block a user