VirtualBox

Changeset 1994 in kBuild for trunk/src/kmk/remake.c


Ignore:
Timestamp:
Oct 29, 2008 3:20:22 AM (17 years ago)
Author:
bird
Message:

remake.c: fixed regression from GNU Make head, see Savannah bug #15919.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/remake.c

    r1993 r1994  
    11691169          /* Reset this target's state so that we check it fresh.  It could be
    11701170             that it's already been checked as part of an order-only
    1171              prerequisite and so wasn't rebuilt then, but should be now.  */
    1172           set_command_state (file, cs_not_started);
     1171             prerequisite and so wasn't rebuilt then, but should be now.
     1172
     1173             bird: What if we're already running the recipe?  We don't wish
     1174                   it to be started once again do we?  This happens with the
     1175                   SECONDARY Test #9 here now... If the idea is to re-evaluate
     1176                   the target regardless of whether it's running or no, then
     1177                   perhaps saving and restoring is a better idea?
     1178                   See bug #15919.  */
     1179          if (file->command_state != cs_running) /* bird */
     1180            set_command_state (file, cs_not_started);
    11731181
    11741182          lastd = 0;
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette