summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorscottl <scottl@FreeBSD.org>2005-10-09 06:36:51 +0000
committerscottl <scottl@FreeBSD.org>2005-10-09 06:36:51 +0000
commit1870005cc4cc0255622793f5418b6f8e81f00d77 (patch)
treebc0cc7f0ff9711639165e7f828a201f3da1aee03 /usr.bin
parent1d5cbed356e5bc02ce5216953e497fedd36725fe (diff)
downloadFreeBSD-src-1870005cc4cc0255622793f5418b6f8e81f00d77.zip
FreeBSD-src-1870005cc4cc0255622793f5418b6f8e81f00d77.tar.gz
Make sure that the created fifo gets deleted if the top level make instance
exits due to a signal.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/make/job.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/make/job.c b/usr.bin/make/job.c
index 629460a..6aa0aad 100644
--- a/usr.bin/make/job.c
+++ b/usr.bin/make/job.c
@@ -2528,6 +2528,8 @@ JobInterrupt(int runINTERRUPT, int signo)
}
}
}
+ if (fifoMaster)
+ unlink(fifoName);
}
/**
OpenPOWER on IntegriCloud