cvs commit: src/usr.bin/make compat.c job.c

Hartmut Brandt harti at
Fri Nov 12 07:57:18 GMT 2004

harti       2004-11-12 07:57:17 UTC

  FreeBSD src repository

  Modified files:
    usr.bin/make         compat.c job.c 
  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

More information about the cvs-src mailing list