[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.107 and 1.108

version 1.107, 2005/07/29 00:33:55 version 1.108, 2005/07/29 13:56:00
Line 453 
Line 453 
                  * Load the information.                   * Load the information.
                  */                   */
                 cf = cvs_file_loadinfo(pcopy, flags, cb, arg, freecf);                  cf = cvs_file_loadinfo(pcopy, flags, cb, arg, freecf);
                 if (cf == NULL)                  if (cf == NULL) {
                           if (cvs_error != CVS_EX_OK)
                                   break;
                         continue;                          continue;
                   }
   
                 /*                  /*
                  * If extra actions are needed, do them now.                   * If extra actions are needed, do them now.
Line 567 
Line 570 
         if (base == NULL) {          if (base == NULL) {
                 cvs_log(LP_ERR, "failed to obtain directory info for '%s'",                  cvs_log(LP_ERR, "failed to obtain directory info for '%s'",
                     parent);                      parent);
                   cvs_error = CVS_EX_FILE;
                 goto fail;                  goto fail;
         }          }
   
Line 580 
Line 584 
   
         root = CVS_DIR_ROOT(base);          root = CVS_DIR_ROOT(base);
         if (root == NULL) {          if (root == NULL) {
                 cvs_log(LP_ERR, "no Root in base directory found");                  cvs_error = CVS_EX_BADROOT;
                 goto fail;                  goto fail;
         }          }
   
Line 591 
Line 595 
         if (type != DT_DIR) {          if (type != DT_DIR) {
                 cf = cvs_file_lget(path, flags, base, ent);                  cf = cvs_file_lget(path, flags, base, ent);
                 if (cf == NULL) {                  if (cf == NULL) {
                         cvs_log(LP_ERR, "failed to fetch '%s'", path);                          cvs_error = CVS_EX_DATA;
                         goto fail;                          goto fail;
                 }                  }
   
Line 627 
Line 631 
                  */                   */
                 if ((base->cf_flags & CVS_FILE_ONDISK) &&                  if ((base->cf_flags & CVS_FILE_ONDISK) &&
                     cvs_file_getdir(base, flags, cb, arg, freecf) < 0) {                      cvs_file_getdir(base, flags, cb, arg, freecf) < 0) {
                         cvs_log(LP_ERR, "cvs_file_getdir failed");                          cvs_error = CVS_EX_FILE;
                         goto fail;                          goto fail;
                 }                  }
         }          }

Legend:
Removed from v.1.107  
changed lines
  Added in v.1.108