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

Diff for /src/usr.bin/cvs/init.c between version 1.40 and 1.41

version 1.40, 2017/06/01 08:08:24 version 1.41, 2017/08/28 19:33:20
Line 40 
Line 40 
 void    cvs_init_local(void);  void    cvs_init_local(void);
   
 static void init_mkdir(const char *, mode_t);  static void init_mkdir(const char *, mode_t);
 static void init_mkfile(char *, const char **);  static void init_mkfile(char *, char **);
   
 struct cvsroot_file {  struct cvsroot_file {
         char                    *cf_path;          char                    *cf_path;
         const char              **cf_content;          char                    **cf_content;
 };  };
   
 static const struct cvsroot_file cvsroot_files[] = {  static const struct cvsroot_file cvsroot_files[] = {
Line 139 
Line 139 
 }  }
   
 static void  static void
 init_mkfile(char *path, const char **content)  init_mkfile(char *path, char **content)
 {  {
         BUF *b;          BUF *b;
         size_t len;          size_t len;
         int fd, openflags, rcsflags;          int fd, openflags, rcsflags;
         char rpath[PATH_MAX];          char rpath[PATH_MAX];
         const char **p;          char **p;
         RCSFILE *file;          RCSFILE *file;
   
         openflags = O_WRONLY | O_CREAT | O_EXCL;          openflags = O_WRONLY | O_CREAT | O_EXCL;

Legend:
Removed from v.1.40  
changed lines
  Added in v.1.41