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

Diff for /src/usr.bin/cvs/remove.c between version 1.33 and 1.34

version 1.33, 2005/08/10 15:34:46 version 1.34, 2005/08/12 06:36:14
Line 175 
Line 175 
                             cf->cf_name);                              cf->cf_name);
                 return (0);                  return (0);
         } else if (cf->cf_cvstat == CVS_FST_ADDED) {          } else if (cf->cf_cvstat == CVS_FST_ADDED) {
   
                   /* XXX scratch it from CVS/Entries */
   
                 l = snprintf(buf, sizeof(buf), "%s/%s%s",                  l = snprintf(buf, sizeof(buf), "%s/%s%s",
                     CVS_PATH_CVSDIR, cf->cf_name, CVS_DESCR_FILE_EXT);                      CVS_PATH_CVSDIR, cf->cf_name, CVS_DESCR_FILE_EXT);
                 if (l == -1 || l >= (int)sizeof(buf)) {                  if (l == -1 || l >= (int)sizeof(buf)) {
Line 195 
Line 198 
                             cf->cf_name);                              cf->cf_name);
                 return (0);                  return (0);
         } else {          } else {
   
                   /* XXX prefix file version with the `-' char in CVS/Entries */
   
                 if (verbosity > 1)                  if (verbosity > 1)
                         cvs_log(LP_NOTICE, "scheduling file `%s' for removal",                          cvs_log(LP_NOTICE, "scheduling file `%s' for removal",
                             cf->cf_name);                              cf->cf_name);

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