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

Diff for /src/usr.bin/cvs/client.c between version 1.59 and 1.60

version 1.59, 2007/02/22 06:42:09 version 1.60, 2007/05/16 09:52:47
Line 957 
Line 957 
         }          }
   
         if ((cvs_client_inlog_fd = open(fpath,          if ((cvs_client_inlog_fd = open(fpath,
             O_RDWR | O_CREAT | O_TRUNC, 0644)) == NULL) {              O_RDWR | O_CREAT | O_TRUNC, 0644)) == -1) {
                 fatal("cvs_client_initlog: open `%s': %s",                  fatal("cvs_client_initlog: open `%s': %s",
                     fpath, strerror(errno));                      fpath, strerror(errno));
         }          }
Line 976 
Line 976 
         }          }
   
         if ((cvs_client_outlog_fd = open(fpath,          if ((cvs_client_outlog_fd = open(fpath,
             O_RDWR | O_CREAT | O_TRUNC, 0644)) == NULL) {              O_RDWR | O_CREAT | O_TRUNC, 0644)) == -1) {
                 fatal("cvs_client_initlog: open `%s': %s",                  fatal("cvs_client_initlog: open `%s': %s",
                     fpath, strerror(errno));                      fpath, strerror(errno));
         }          }

Legend:
Removed from v.1.59  
changed lines
  Added in v.1.60