Date: Fri, 20 Apr 2007 06:25:45 +0000 (UTC) From: Max Khon <fjoe@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/make main.c Message-ID: <200704200625.l3K6PjMa014750@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
fjoe 2007-04-20 06:25:45 UTC FreeBSD src repository Modified files: usr.bin/make main.c Log: When remaking makefiles check that mtime has actually changed. This fixes infinite restart in the following case: Makefile: foo foo: bar do-something Unlike GNU make, BSD make considers "Makefile" node as remade even if "foo" is up-to-date and was not actually rebuilt. GNU make does not consider nodes without commands as remade if child nodes were not actually rebuilt. Most probably, more proper fix would be to bring BSD make behaviour in-line with GNU make but this would be more intrusive change. Revision Changes Path 1.162 +14 -3 src/usr.bin/make/main.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200704200625.l3K6PjMa014750>