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

Diff for /src/usr.bin/cvs/diff3.c between version 1.44 and 1.45

version 1.44, 2008/02/29 21:43:57 version 1.45, 2008/03/01 14:40:23
Line 247 
Line 247 
         }          }
   
         (void)close(cf->fd);          (void)close(cf->fd);
         cf->fd = open(cf->file_path, O_CREAT | O_WRONLY | O_TRUNC);          cf->fd = open(cf->file_path, O_CREAT | O_RDWR | O_TRUNC, 0644);
         if (cf->fd == -1) {          if (cf->fd == -1) {
                 fatal("cvs_merge_file: failed to reopen fd for writing: %s",                  fatal("cvs_merge_file: failed to reopen fd for writing: %s",
                     strerror(errno));                      strerror(errno));

Legend:
Removed from v.1.44  
changed lines
  Added in v.1.45