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

Diff for /src/usr.bin/make/var.c between version 1.50 and 1.51

version 1.50, 2000/11/24 14:29:56 version 1.51, 2000/12/07 00:15:43
Line 773 
Line 773 
         str = *pos;          str = *pos;
         for (; **pos != '$'; (*pos)++) {          for (; **pos != '$'; (*pos)++) {
             if (**pos == '\0' || **pos == endc || **pos == ':') {              if (**pos == '\0' || **pos == endc || **pos == ':') {
                   Buf_AddInterval(&buf, str, *pos);
                 v = VarFind(Buf_Retrieve(&buf), ctxt, FIND_ENV | FIND_MINE);                  v = VarFind(Buf_Retrieve(&buf), ctxt, FIND_ENV | FIND_MINE);
                 Buf_Destroy(&buf);                  Buf_Destroy(&buf);
                 return v;                  return v;

Legend:
Removed from v.1.50  
changed lines
  Added in v.1.51