dmd2.081: backport clean ld exit.

This commit is contained in:
Auri 2020-10-29 11:47:37 +02:00 committed by Érico Rolim
parent 75a8098ceb
commit c983922597
2 changed files with 12 additions and 1 deletions

View File

@ -0,0 +1,11 @@
--- 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)
{

View File

@ -1,7 +1,7 @@
# Template file for 'dmd2.081' # Template file for 'dmd2.081'
pkgname=dmd2.081 pkgname=dmd2.081
version=2.081.1 version=2.081.1
revision=2 revision=3
create_wrksrc=yes create_wrksrc=yes
hostmakedepends="which" hostmakedepends="which"
makedepends="dmd-bootstrap" makedepends="dmd-bootstrap"