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

Diff for /src/usr.bin/make/varmodifiers.c between version 1.34 and 1.35

version 1.34, 2013/11/12 17:44:03 version 1.35, 2013/11/22 15:47:35
Line 867 
Line 867 
                                 rp++;                                  rp++;
                         }                          }
                         else if (*rp == '&' ||                          else if (*rp == '&' ||
                             (*rp == '\\' && isdigit(rp[1]))) {                              (*rp == '\\' && ISDIGIT(rp[1]))) {
                                 int n;                                  int n;
                                 const char *subbuf;                                  const char *subbuf;
                                 int sublen;                                  int sublen;
Line 1173 
Line 1173 
         len = strlen(s);          len = strlen(s);
         t = emalloc(len+1);          t = emalloc(len+1);
         for (i = 0; i < len; i++)          for (i = 0; i < len; i++)
                 t[i] = toupper(s[i]);                  t[i] = TOUPPER(s[i]);
         t[len] = '\0';          t[len] = '\0';
         return t;          return t;
 }  }
Line 1187 
Line 1187 
         len = strlen(s);          len = strlen(s);
         t = emalloc(len+1);          t = emalloc(len+1);
         for (i = 0; i < len; i++)          for (i = 0; i < len; i++)
                 t[i] = tolower(s[i]);                  t[i] = TOLOWER(s[i]);
         t[len] = '\0';          t[len] = '\0';
         return t;          return t;
 }  }

Legend:
Removed from v.1.34  
changed lines
  Added in v.1.35