Subject: Forwarded from Philip Homburg: 4.4BSD make problem
To: None <current-users@NetBSD.ORG>
From: Matthieu Herrb <matthieu@laas.fr>
List: current-users
Date: 08/31/1995 09:39:51
Hi,

I have noticed this problem for a long time too, but I was too lazy to
try to track it. Does somone know why these lines were added in 4.4 ?

If there is no good reason, I'll send a pr to try to revert that.

------- start of forwarded message (RFC 934 encapsulation) -------
>From: Philip Homburg <philip@cs.vu.nl>
To: alpha@XFree86.Org
Subject: 4.4BSD make problem
Date: Tue, 29 Aug 1995 17:32:21 +0200

I recently installed the 4.4BSD make (over the net2 version of make) and
noticed that some archives in the X server are recreated every time make
is run. I tracked the problem down to the following two lines that were added
to compat.c:

***************
*** 483,488 ****
- --- 504,511 ----
            if (noExecute || Dir_MTime(gn) == 0) {
                gn->mtime = now;
            }
+           if (gn->cmtime > gn->mtime)
+               gn->mtime = gn->cmtime;
            if (DEBUG(MAKE)) {
                printf("update time: %s\n", Targ_FmtTime(gn->mtime));
            }

[rest deleted]
------- end -------

					Matthieu