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

Diff for /src/usr.bin/cvs/server.c between version 1.42 and 1.43

version 1.42, 2006/12/15 08:02:53 version 1.43, 2006/12/15 09:50:37
Line 217 
Line 217 
 }  }
   
 void  void
   cvs_server_static_directory(char *data)
   {
           FILE *fp;
           char *fpath;
   
           fpath = xmalloc(MAXPATHLEN);
           if (cvs_path_cat(server_currentdir, CVS_PATH_STATICENTRIES, fpath,
               MAXPATHLEN) >= MAXPATHLEN)
                   fatal("cvs_server_static_directory: truncation");
   
           if ((fp = fopen(fpath, "w+")) == NULL) {
                   cvs_log(LP_ERRNO, "%s", fpath);
                   goto out;
           }
           (void)fclose(fp);
   out:
           xfree(fpath);
   }
   
   void
 cvs_server_sticky(char *data)  cvs_server_sticky(char *data)
 {  {
         FILE *fp;          FILE *fp;
Line 227 
Line 247 
             MAXPATHLEN) >= MAXPATHLEN)              MAXPATHLEN) >= MAXPATHLEN)
                 fatal("cvs_server_sticky: truncation");                  fatal("cvs_server_sticky: truncation");
   
         if ((fp = fopen(tagpath ,"w+")) == NULL) {          if ((fp = fopen(tagpath, "w+")) == NULL) {
                 cvs_log(LP_ERRNO, "%s", tagpath);                  cvs_log(LP_ERRNO, "%s", tagpath);
                 goto out;                  goto out;
         }          }

Legend:
Removed from v.1.42  
changed lines
  Added in v.1.43