[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.122 and 1.123

version 1.122, 2017/04/20 03:04:11 version 1.123, 2019/04/22 18:32:09
Line 513 
Line 513 
         /* curdir is cwd... */          /* curdir is cwd... */
         cwd = dogetcwd();          cwd = dogetcwd();
         if (cwd == NULL)          if (cwd == NULL)
                 err(2, "%s", strerror(errno));                  err(2, "getcwd");
   
         if (stat(cwd, &sa) == -1)          if (stat(cwd, &sa) == -1)
                 err(2, "%s: %s", cwd, strerror(errno));                  err(2, "%s", cwd);
   
         /* ...but we can use the alias $PWD if we can prove it is the same          /* ...but we can use the alias $PWD if we can prove it is the same
          * directory */           * directory */

Legend:
Removed from v.1.122  
changed lines
  Added in v.1.123