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

Diff for /src/usr.bin/make/arch.c between version 1.56 and 1.57

version 1.56, 2007/03/20 03:50:39 version 1.57, 2007/07/24 18:52:47
Line 241 
Line 241 
   
     for (cp = libName; *cp != '(' && *cp != '\0';) {      for (cp = libName; *cp != '(' && *cp != '\0';) {
         if (*cp == '$') {          if (*cp == '$') {
             bool ok;              if (!Var_ParseSkip(&cp, ctxt))
   
             cp += Var_ParseSkip(cp, ctxt, &ok);  
             if (ok == false)  
                 return false;                  return false;
             subLibName = true;              subLibName = true;
         } else          } else
Line 266 
Line 263 
         memberName = cp;          memberName = cp;
         while (*cp != '\0' && *cp != ')' && !isspace(*cp)) {          while (*cp != '\0' && *cp != ')' && !isspace(*cp)) {
             if (*cp == '$') {              if (*cp == '$') {
                 bool ok;                  if (!Var_ParseSkip(&cp, ctxt))
                 cp += Var_ParseSkip(cp, ctxt, &ok);  
                 if (ok == false)  
                     return false;                      return false;
                 doSubst = true;                  doSubst = true;
             } else              } else

Legend:
Removed from v.1.56  
changed lines
  Added in v.1.57