View | Details | Raw Unified | Return to issue 34746
Collapse All | Expand All

(-)dmake/NEWS (+3 lines)
Lines 5-10 Link Here
5
Version 4.3
5
Version 4.3
6
===========
6
===========
7
7
8
2004/10/07 Volker Quetschke (vq@openoffice.org)
9
#i34746# Fix timestamp of phony targets with prerequisites.
10
8
2004/07/11 Volker Quetschke (vq@openoffice.org)
11
2004/07/11 Volker Quetschke (vq@openoffice.org)
9
#i31255# Add verbose recipe echoing option (-vr).
12
#i31255# Add verbose recipe echoing option (-vr).
10
13
(-)dmake/sysintf.c (-9 / +3 lines)
Lines 708-722 Link Here
708
   time_t  phonytime = (time_t)0L;
708
   time_t  phonytime = (time_t)0L;
709
   int     phony = ((cp->ce_attr&A_PHONY) != 0);
709
   int     phony = ((cp->ce_attr&A_PHONY) != 0);
710
710
711
   /* Compute phony time as either the current time, or the most recent time
711
   /* Use the current time as phony timestamp for phony targets. */
712
    * from the list of prerequisites if there are any. */
712
   /* This was changed with issue 34746.                         */
713
   if ( cp->ce_prq != NIL(LINK) ) {
713
   phonytime = Do_time();
714
      for(dp=cp->ce_prq; dp; dp=dp->cl_next)
715
	 if ( dp->cl_prq->ce_time > phonytime )
716
	    phonytime = dp->cl_prq->ce_time;
717
   }
718
   else
719
      phonytime = Do_time();
720
714
721
   for(dp=CeMeToo(cp); dp; dp=dp->cl_next) {
715
   for(dp=CeMeToo(cp); dp; dp=dp->cl_next) {
722
      tcp=dp->cl_prq;
716
      tcp=dp->cl_prq;

Return to issue 34746