initial import from Debian
version: 14.3.0-5 commit: bee30ab0fff2fd6af94c62376c8aa4221bb831e0
This commit is contained in:
13
debian/patches/libphobos-unittest.diff
vendored
Normal file
13
debian/patches/libphobos-unittest.diff
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
# DP: https://github.com/dlang/phobos/pull/10586
|
||||
|
||||
--- a/src/libphobos/src/std/process.d
|
||||
+++ b/src/libphobos/src/std/process.d
|
||||
@@ -2800,7 +2800,7 @@ void kill(Pid pid, int codeOrSignal)
|
||||
do { s = tryWait(pid); } while (!s.terminated);
|
||||
version (Windows) assert(s.status == 123);
|
||||
else version (Posix) assert(s.status == -SIGKILL);
|
||||
- assertThrown!ProcessException(kill(pid));
|
||||
+ assert(pid.processID == Pid.terminated);
|
||||
}
|
||||
|
||||
@system unittest // wait() and kill() detached process
|
Reference in New Issue
Block a user