Changeset 352
- Timestamp:
 - Dec 12, 2005, 4:07:31 AM (20 years ago)
 - Location:
 - trunk/src/gmake
 - Files:
 - 
      
- 4 edited
 
- 
          
  commands.c (modified) (1 diff)
 - 
          
  commands.h (modified) (1 diff)
 - 
          
  job.c (modified) (1 diff)
 - 
          
  remake.c (modified) (1 diff)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
trunk/src/gmake/commands.c
r287 r352 385 385 { 386 386 /* If there are no commands, assume everything worked. */ 387 file->command_flags |= COMMANDS_NO_COMMANDS; 387 388 set_command_state (file, cs_running); 388 389 file->update_status = 0;  - 
      
trunk/src/gmake/commands.h
r287 r352 36 36 #define COMMANDS_SILENT 2 /* Silent: @. */ 37 37 #define COMMANDS_NOERROR 4 /* No errors: -. */ 38 #define COMMANDS_NOTPARALLEL 32 /* kmk: the commands must be executed alone. */ 39 #define COMMANDS_BUILTIN 64 /* kmk: builtin command. */ 38 #define COMMANDS_NOTPARALLEL 32 /* kmk: the commands must be executed alone. */ 39 #define COMMANDS_BUILTIN 64 /* kmk: builtin command. */ 40 #define COMMANDS_NO_COMMANDS 128 /* kmk: No commands. */ 40 41 41 42 extern void execute_file_commands PARAMS ((struct file *file));  - 
      
trunk/src/gmake/job.c
r287 r352 1493 1493 if (c->file->command_flags & COMMANDS_NOTPARALLEL) 1494 1494 { 1495 DB (DB_KMK, (_("not_parallel %d -> %d (file=%p `%s')\n"), not_parallel, not_parallel + 1, c->file, c->file->name)); 1495 1496 assert(not_parallel == 0); 1496 DB (DB_KMK, (_("not_parallel %d -> %d (file=%p `%s')\n"), not_parallel, not_parallel + 1, c->file, c->file->name));1497 1497 ++not_parallel; 1498 1498 }  - 
      
trunk/src/gmake/remake.c
r287 r352 795 795 int ran = file->command_state == cs_running; 796 796 int touched = 0; 797 DB (DB_JOBS, (_("notice_finished_file - entering: file=%p `%s' update_status=%d command_state=%d\n"), file, file->name, file->update_status, file->command_state)); 797 DB (DB_JOBS, (_("notice_finished_file - entering: file=%p `%s' update_status=%d command_state=%d\n"), 798 file, file->name, file->update_status, file->command_state)); 798 799 file->command_state = cs_finished; 799 800 file->updated = 1; 800 801 801 802 /* update not_parallel if the file was flagged for that. */ 802 if (ran && (file->command_flags & COMMANDS_NOTPARALLEL)) 803 { 804 assert(not_parallel == 1); 805 DB (DB_KMK, (_("not_parallel %d -> %d (file=%p `%s')\n"), not_parallel, not_parallel - 1, file, file->name)); 803 if (ran && (file->command_flags & (COMMANDS_NOTPARALLEL | COMMANDS_NO_COMMANDS)) 804 == COMMANDS_NOTPARALLEL) 805 { 806 DB (DB_KMK, (_("not_parallel %d -> %d (file=%p `%s')\n"), not_parallel, 807 not_parallel - 1, file, file->name)); 808 assert(not_parallel >= 1); 806 809 --not_parallel; 807 810 }  
  Note:
 See   TracChangeset
 for help on using the changeset viewer.
  