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

Diff for /src/usr.bin/cvs/add.c between version 1.32 and 1.33

version 1.32, 2005/09/25 17:38:44 version 1.33, 2005/09/30 15:40:22
Line 156 
Line 156 
   
         added = 0;          added = 0;
   
           /* dont use `cvs add *' */
           if ((strcmp(cf->cf_name, ".") == 0) ||
               (strcmp(cf->cf_name, "..") == 0) ||
               (strcmp(cf->cf_name, CVS_PATH_CVSDIR) == 0)) {
                   if (verbosity > 1)
                           cvs_log(LP_ERR,
                               "cannot add special file `%s'.", cf->cf_name);
                   return (CVS_EX_FILE);
           }
   
         if (cf->cf_type == DT_DIR)          if (cf->cf_type == DT_DIR)
                 return cvs_add_directory(cf);                  return cvs_add_directory(cf);
   
Line 301 
Line 311 
                 errno = ENAMETOOLONG;                  errno = ENAMETOOLONG;
                 cvs_log(LP_ERRNO, "%s", entry);                  cvs_log(LP_ERRNO, "%s", entry);
                 return (CVS_EX_DATA);                  return (CVS_EX_DATA);
         }          }
   
         if ((ent = cvs_ent_parse(entry)) == NULL) {          if ((ent = cvs_ent_parse(entry)) == NULL) {
                 cvs_log(LP_ERR, "failed to parse entry");                  cvs_log(LP_ERR, "failed to parse entry");

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