void-packages/srcpkgs/dmd2.081/patches/backport-ld-exit.patch

12 lines
326 B
Diff
Raw Normal View History

2020-10-29 10:47:37 +01:00
--- dmd/src/dmd/link.d
+++ dmd/src/dmd/link.d
@@ -685,7 +685,7 @@ public int runLINK()
close(fds[0]);
execvp(argv[0], cast(char**)argv.tdata());
perror(argv[0]); // failed to execute
- return -1;
+ _exit(-1);
}
else if (childpid == -1)
{