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

Diff for /src/usr.bin/cvs/cvs.c between version 1.156 and 1.157

version 1.156, 2015/11/05 09:48:21 version 1.157, 2015/11/19 17:44:01
Line 34 
Line 34 
 #include <string.h>  #include <string.h>
 #include <time.h>  #include <time.h>
 #include <unistd.h>  #include <unistd.h>
   #include <err.h>
   
 #include "cvs.h"  #include "cvs.h"
 #include "remote.h"  #include "remote.h"
Line 185 
Line 186 
         struct passwd *pw;          struct passwd *pw;
         struct stat st;          struct stat st;
         char fpath[PATH_MAX];          char fpath[PATH_MAX];
   
           if (pledge("stdio rpath wpath cpath fattr proc exec", NULL) == -1)
                   err(1, "pledge");
   
         tzset();          tzset();
   

Legend:
Removed from v.1.156  
changed lines
  Added in v.1.157