Ignore:
Timestamp:
Sep 16, 2006, 6:56:25 AM (19 years ago)
Author:
bird
Message:

Cleaning up the modifications. Changes are now either configurable or marked, and dead stuff has been removed (dll shell).

File:
1 edited

Legend:

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

    r503 r520  
    803803  int ran = file->command_state == cs_running;
    804804  int touched = 0;
    805   DB (DB_JOBS, (_("notice_finished_file - entering: file=%p `%s' update_status=%d command_state=%d\n"),
     805  DB (DB_JOBS, (_("notice_finished_file - entering: file=%p `%s' update_status=%d command_state=%d\n"), /* bird */
    806806                  file, file->name, file->update_status, file->command_state));
    807807  file->command_state = cs_finished;
    808808  file->updated = 1;
    809809
     810#ifdef CONFIG_WITH_EXTENDED_NOTPARALLEL
    810811  /* update not_parallel if the file was flagged for that. */
    811   if (ran && (file->command_flags & (COMMANDS_NOTPARALLEL | COMMANDS_NO_COMMANDS))
    812       == COMMANDS_NOTPARALLEL)
    813     {
    814       DB (DB_KMK, (_("not_parallel %d -> %d (file=%p `%s')\n"), not_parallel,
     812  if (   ran
     813      && (file->command_flags & (COMMANDS_NOTPARALLEL | COMMANDS_NO_COMMANDS))
     814         == COMMANDS_NOTPARALLEL)
     815    {
     816      DB (DB_KMK, (_("not_parallel %d -> %d (file=%p `%s') [notice_finished_file]\n"), not_parallel,
    815817                   not_parallel - 1, file, file->name));
    816818      assert(not_parallel >= 1);
    817819      --not_parallel;
    818820    }
     821#endif
    819822
    820823  if (touch_flag
     
    936939       So mark it now as "succeeded".  */
    937940    file->update_status = 0;
    938 
    939 DB (DB_JOBS, (_("notice_finished_file - leaving: file=%p `%s' update_status=%d command_state=%d\n"), file, file->name, file->update_status, file->command_state));
    940941}
    941942
Note: See TracChangeset for help on using the changeset viewer.