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

Diff for /src/usr.bin/cvs/file.c between version 1.94 and 1.95

version 1.94, 2005/07/07 19:06:12 version 1.95, 2005/07/07 20:24:35
Line 436 
Line 436 
                 }                  }
         }          }
   
         /* XXX - needed for some commands */          /*
            * XXX - needed for some commands
            */
         if (cb != NULL) {          if (cb != NULL) {
                 if (cb(base, arg) != CVS_EX_OK) {                  if (cb(base, arg) != CVS_EX_OK) {
                         cvs_file_free(base);                          cvs_file_free(base);
Line 717 
Line 719 
         if ((flags & CF_KNOWN) && (cf->cf_cvstat == CVS_FST_UNKNOWN))          if ((flags & CF_KNOWN) && (cf->cf_cvstat == CVS_FST_UNKNOWN))
                 return (0);                  return (0);
   
         /* callback for the directory entry */          /*
         if (cb != NULL) {           * XXX - Do not call the callback for ".", this has
            * already been done in cvs_file_getspec().
            */
           if (cb != NULL && strcmp(cf->cf_name, ".")) {
                 if (cb(cf, arg) != CVS_EX_OK)                  if (cb(cf, arg) != CVS_EX_OK)
                         return (-1);                          return (-1);
         }          }

Legend:
Removed from v.1.94  
changed lines
  Added in v.1.95