[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.131 and 1.132

version 1.131, 2023/07/08 21:51:45 version 1.132, 2023/09/04 11:35:11
Line 45 
Line 45 
 #include <stdlib.h>  #include <stdlib.h>
 #include <string.h>  #include <string.h>
 #include <unistd.h>  #include <unistd.h>
 #include "config.h"  
 #include "defines.h"  #include "defines.h"
 #include "var.h"  #include "var.h"
 #include "lowparse.h"  #include "lowparse.h"
Line 517 
Line 516 
         struct stat sa, sb;          struct stat sa, sb;
   
         /* curdir is cwd... */          /* curdir is cwd... */
         cwd = dogetcwd();          cwd = getcwd(NULL, 0);
         if (cwd == NULL)          if (cwd == NULL)
                 err(2, "getcwd");                  err(2, "getcwd");
   

Legend:
Removed from v.1.131  
changed lines
  Added in v.1.132