[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.33 and 1.34

version 1.33, 2006/12/15 13:12:14 version 1.34, 2006/12/15 15:40:28
Line 386 
Line 386 
 void  void
 cvs_client_senddir(const char *dir)  cvs_client_senddir(const char *dir)
 {  {
           struct stat st;
         int nb;          int nb;
         char *d, *date, *repo, *tag;          char *d, *date, *fpath, *repo, *tag;
   
         d = NULL;          d = NULL;
   
Line 400 
Line 401 
         cvs_client_send_request("Directory %s\n%s", dir, repo);          cvs_client_send_request("Directory %s\n%s", dir, repo);
   
         xfree(repo);          xfree(repo);
   
           fpath = xmalloc(MAXPATHLEN);
           if (cvs_path_cat(dir, CVS_PATH_STATICENTRIES, fpath, MAXPATHLEN) >=
               MAXPATHLEN)
                   fatal("cvs_client_senddir: truncation");
   
           if (stat(fpath, &st) == 0 && (st.st_mode & (S_IRUSR|S_IRGRP|S_IROTH)))
                   cvs_client_send_request("Static-directory");
   
           xfree(fpath);
   
         d = xstrdup(dir);          d = xstrdup(dir);
         cvs_parse_tagfile(d, &tag, &date, &nb);          cvs_parse_tagfile(d, &tag, &date, &nb);

Legend:
Removed from v.1.33  
changed lines
  Added in v.1.34