[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.50 and 1.51

version 1.50, 2001/05/29 17:00:54 version 1.51, 2001/05/31 13:38:48
Line 811 
Line 811 
                         goto found;                          goto found;
                 /* if we've chdir'd, rebuild the path name */                  /* if we've chdir'd, rebuild the path name */
                 if (curdir != objdir && *fname != '/') {                  if (curdir != objdir && *fname != '/') {
                         (void)sprintf(path, "%s/%s", curdir, fname);                          (void)snprintf(path, sizeof path, "%s/%s", curdir,
                               fname);
                         if ((stream = fopen(path, "r")) != NULL) {                          if ((stream = fopen(path, "r")) != NULL) {
                                 fname = estrdup(path);                                  fname = estrdup(path);
                                 goto found;                                  goto found;

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