diff options
author | scottl <scottl@FreeBSD.org> | 2005-10-09 06:36:51 +0000 |
---|---|---|
committer | scottl <scottl@FreeBSD.org> | 2005-10-09 06:36:51 +0000 |
commit | 1870005cc4cc0255622793f5418b6f8e81f00d77 (patch) | |
tree | bc0cc7f0ff9711639165e7f828a201f3da1aee03 /usr.bin/make/job.c | |
parent | 1d5cbed356e5bc02ce5216953e497fedd36725fe (diff) | |
download | FreeBSD-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/make/job.c')
-rw-r--r-- | usr.bin/make/job.c | 2 |
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); } /** |