forked from dlang/phobos
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix Issue 16580 - spawnShell segfaults on macOS
- partially Revert "Merge pull request dlang#4493 from schveiguy/fixcycles2" - recreate processinit (and import it from std.process) to call std.process shared ctor w/o creating a cycle - keep it separate from phobosinit to not drag std.encoding into any binary using std.process
- Loading branch information
1 parent
e3f842d
commit ebbdf21
Showing
6 changed files
with
26 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// Written in the D programming language. | ||
|
||
/++ | ||
The only purpose of this module is to do the static construction for | ||
std.process in order to eliminate cyclic construction errors. | ||
Copyright: Copyright 2011 - | ||
License: $(HTTP www.boost.org/LICENSE_1_0.txt, Boost License 1.0). | ||
Authors: Jonathan M Davis and Kato Shoichi | ||
Source: $(PHOBOSSRC std/internal/_processinit.d) | ||
+/ | ||
module std.internal.processinit; | ||
|
||
version(OSX) | ||
{ | ||
extern(C) void std_process_shared_static_this(); | ||
|
||
shared static this() | ||
{ | ||
std_process_shared_static_this(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters