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

Diff for /src/usr.bin/cvs/Attic/resp.c between version 1.27 and 1.28

version 1.27, 2005/04/15 13:14:00 version 1.28, 2005/04/18 21:02:50
Line 389 
Line 389 
                 cf = cvs_file_create(sdir, line, DT_DIR, 0755);                  cf = cvs_file_create(sdir, line, DT_DIR, 0755);
                 if (cf == NULL)                  if (cf == NULL)
                         return (-1);                          return (-1);
                 cf->cf_ddat->cd_repo = strdup(line);                  cf->cf_repo = strdup(line);
                 if (cf->cf_ddat->cd_repo == NULL) {                  if (cf->cf_repo == NULL) {
                         cvs_log(LP_ERRNO, "failed to duplicate `%s'", line);                          cvs_log(LP_ERRNO, "failed to duplicate `%s'", line);
                         cvs_file_free(cf);                          cvs_file_free(cf);
                         return (-1);                          return (-1);
                 }                  }
                 cf->cf_ddat->cd_root = root;                  cf->cf_root = root;
                 root->cr_ref++;                  root->cr_ref++;
   
                 if (cvs_file_attach(sdir, cf) < 0) {                  if (cvs_file_attach(sdir, cf) < 0) {
Line 418 
Line 418 
         }          }
   
         if (type == CVS_RESP_CLRSTICKY)          if (type == CVS_RESP_CLRSTICKY)
                 cf->cf_ddat->cd_flags &= ~CVS_DIRF_STICKY;                  cf->cf_flags &= ~CVS_DIRF_STICKY;
         else if (type == CVS_RESP_SETSTICKY)          else if (type == CVS_RESP_SETSTICKY)
                 cf->cf_ddat->cd_flags |= CVS_DIRF_STICKY;                  cf->cf_flags |= CVS_DIRF_STICKY;
   
         return (0);          return (0);
 }  }

Legend:
Removed from v.1.27  
changed lines
  Added in v.1.28