[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.3 and 1.4

version 1.3, 2006/06/02 19:10:24 version 1.4, 2006/06/14 12:35:09
Line 45 
Line 45 
 cvs_repository_lock(const char *repo)  cvs_repository_lock(const char *repo)
 {  {
         int l, i;          int l, i;
         uid_t myuid;  
         struct stat st;          struct stat st;
         char fpath[MAXPATHLEN];          char fpath[MAXPATHLEN];
         struct passwd *pw;          struct passwd *pw;
Line 56 
Line 55 
         if (l == -1 || l >= (int)sizeof(fpath))          if (l == -1 || l >= (int)sizeof(fpath))
                 fatal("cvs_repository_lock: overflow");                  fatal("cvs_repository_lock: overflow");
   
         myuid = getuid();  
         for (i = 0; i < CVS_LOCK_TRIES; i++) {          for (i = 0; i < CVS_LOCK_TRIES; i++) {
                 if (cvs_quit)                  if (cvs_quit)
                         fatal("received signal %d", sig_received);                          fatal("received signal %d", sig_received);

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