[BACK]Return to compat.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / make

Diff for /src/usr.bin/make/compat.c between version 1.45 and 1.46

version 1.45, 2001/12/02 00:13:16 version 1.46, 2002/01/16 01:28:54
Line 167 
Line 167 
     char          *cmdStart;    /* Start of expanded command */      char          *cmdStart;    /* Start of expanded command */
     char *cp, *bp = NULL;      char *cp, *bp = NULL;
     bool          silent,       /* Don't print command */      bool          silent,       /* Don't print command */
                   errCheck,     /* Check errors */  
                   doExecute;    /* Execute the command */                    doExecute;    /* Execute the command */
       volatile bool errCheck;     /* Check errors */
     int           reason;       /* Reason for child's death */      int           reason;       /* Reason for child's death */
     int           status;       /* Description of child's death */      int           status;       /* Description of child's death */
     int           cpid;         /* Child actually found */      int           cpid;         /* Child actually found */
     int           stat;         /* Status of fork */      int           stat;         /* Status of fork */
     LstNode       cmdNode;      /* Node where current command is located */      LstNode       cmdNode;      /* Node where current command is located */
     char          **av;         /* Argument vector for thing to exec */      char          ** volatile av; /* Argument vector for thing to exec */
     int           argc;         /* Number of arguments in av or 0 if not      int           argc;         /* Number of arguments in av or 0 if not
                                  * dynamically allocated */                                   * dynamically allocated */
     bool          local;        /* true if command should be executed      bool          local;        /* true if command should be executed
Line 183 
Line 183 
     GNode         *gn = (GNode *)gnp;      GNode         *gn = (GNode *)gnp;
     static char *shargv[4] = { _PATH_BSHELL };      static char *shargv[4] = { _PATH_BSHELL };
   
     /* Avoid clobbered variable warnings by forcing the compiler  
      * to ``unregister'' variables.  */  
 #if __GNUC__  
     (void)&av;  
     (void)&errCheck;  
 #endif  
     silent = gn->type & OP_SILENT;      silent = gn->type & OP_SILENT;
     errCheck = !(gn->type & OP_IGNORE);      errCheck = !(gn->type & OP_IGNORE);
     doExecute = !noExecute;      doExecute = !noExecute;

Legend:
Removed from v.1.45  
changed lines
  Added in v.1.46