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

Diff for /src/usr.bin/cvs/repository.c between version 1.24 and 1.25

version 1.24, 2015/01/16 06:40:07 version 1.25, 2017/05/31 16:18:20
Line 36 
Line 36 
   
         (void)xsnprintf(fpath, sizeof(fpath), "%s/%s", repo, CVS_LOCK);          (void)xsnprintf(fpath, sizeof(fpath), "%s/%s", repo, CVS_LOCK);
   
         /* XXX - this ok? */          if (unlink(fpath) == -1 && errno != ENOENT)
         worklist_run(&repo_locks, worklist_unlink);                  cvs_log(LP_ERR, "warning: failed to unlink %s", fpath);
 }  }
   
 void  void

Legend:
Removed from v.1.24  
changed lines
  Added in v.1.25