Date: Fri, 12 Nov 2004 07:57:17 +0000 (UTC) From: Hartmut Brandt <harti@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/make compat.c job.c Message-ID: <200411120757.iAC7vHKI080512@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
harti 2004-11-12 07:57:17 UTC
FreeBSD src repository
Modified files:
usr.bin/make compat.c job.c
Log:
Fix a (very) long standing bug in make (this has been there probably
from the beginning). Make used to handle all its interrupt-time stuff
directly from the signal handler, including calls to printf, accessing
global data and so on. This is of course wrong and could provoke a core
dump when interrupting make. Just set a flag in the signal handler and
do everything else from the main thread.
PR: bin/29103
Revision Changes Path
1.39 +42 -15 src/usr.bin/make/compat.c
1.56 +60 -14 src/usr.bin/make/job.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200411120757.iAC7vHKI080512>
