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

Diff for /src/usr.bin/make/parse.c between version 1.99 and 1.100

version 1.99, 2010/07/19 19:46:44 version 1.100, 2010/12/26 13:09:22
Line 1102 
Line 1102 
         if (!isSystem && file[0] != '/') {          if (!isSystem && file[0] != '/') {
                 /* ... by looking first under the same directory as the                  /* ... by looking first under the same directory as the
                  * current file */                   * current file */
                 char *slash;                  char *slash = NULL;
                 const char *fname;                  const char *fname;
   
                 fname = Parse_Getfilename();                  fname = Parse_Getfilename();
   
                 slash = strrchr(fname, '/');                  if (fname != NULL)
                           slash = strrchr(fname, '/');
   
                 if (slash != NULL) {                  if (slash != NULL) {
                         char *newName;                          char *newName;
   

Legend:
Removed from v.1.99  
changed lines
  Added in v.1.100