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

Diff for /src/usr.bin/make/main.c between version 1.69 and 1.70

version 1.69, 2006/09/26 18:20:50 version 1.70, 2007/07/08 17:44:20
Line 99 
Line 99 
 bool            usePipes;       /* !-P flag */  bool            usePipes;       /* !-P flag */
 bool            ignoreErrors;   /* -i flag */  bool            ignoreErrors;   /* -i flag */
 bool            beSilent;       /* -s flag */  bool            beSilent;       /* -s flag */
 bool            oldVars;        /* variable substitution style */  
 bool            checkEnvFirst;  /* -e flag */  
   
 static void             MainParseArgs(int, char **);  static void             MainParseArgs(int, char **);
 static char *           chdir_verify_path(const char *);  static char *           chdir_verify_path(const char *);
Line 140 
Line 138 
                 keepgoing = false;                  keepgoing = false;
                 break;                  break;
         case 'e':          case 'e':
                 checkEnvFirst = true;                  Var_setCheckEnvFirst(true);
                 break;                  break;
         case 'i':          case 'i':
                 ignoreErrors = true;                  ignoreErrors = true;
Line 300 
Line 298 
                 case -1:                  case -1:
                         /* Check for variable assignments and targets. */                          /* Check for variable assignments and targets. */
                         if (argv[optind] != NULL &&                          if (argv[optind] != NULL &&
                             !Parse_DoVar(argv[optind], VAR_CMD)) {                              !Parse_CmdlineVar(argv[optind])) {
                                 if (!*argv[optind])                                  if (!*argv[optind])
                                         Punt("illegal (null) argument.");                                          Punt("illegal (null) argument.");
                                 Lst_AtEnd(create, estrdup(argv[optind]));                                  Lst_AtEnd(create, estrdup(argv[optind]));
Line 318 
Line 316 
          */           */
         if (!compatMake && !forceJobs)          if (!compatMake && !forceJobs)
                 compatMake = true;                  compatMake = true;
   
         oldVars = true;  
 }  }
   
 /*-  /*-

Legend:
Removed from v.1.69  
changed lines
  Added in v.1.70