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

Diff for /src/usr.bin/cvs/diff.c between version 1.2 and 1.3

version 1.2, 2004/07/14 03:59:36 version 1.3, 2004/07/14 04:32:42
Line 510 
Line 510 
         cvs_splitpath(path, dir, sizeof(dir), file, sizeof(file));          cvs_splitpath(path, dir, sizeof(dir), file, sizeof(file));
         cvs_readrepo(dir, repo, sizeof(repo));          cvs_readrepo(dir, repo, sizeof(repo));
   
         entf = cvs_ent_open(dir);          entf = cvs_ent_open(dir, O_RDONLY);
         if (entf == NULL) {          if (entf == NULL) {
                 cvs_log(LP_ERR, "no CVS/Entries file in `%s'", dir);                  cvs_log(LP_ERR, "no CVS/Entries file in `%s'", dir);
                 return (-1);                  return (-1);
Line 621 
Line 621 
                 return (-1);                  return (-1);
         }          }
   
         entf = cvs_ent_open(dir);          entf = cvs_ent_open(dir, O_RDONLY);
         if (entf == NULL) {          if (entf == NULL) {
                 cvs_log(LP_ERR, "no CVS/Entries file in `%s'", dir);                  cvs_log(LP_ERR, "no CVS/Entries file in `%s'", dir);
                 (void)closedir(dirp);                  (void)closedir(dirp);

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3