=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cvs/file.c,v retrieving revision 1.92 retrieving revision 1.93 diff -c -r1.92 -r1.93 *** src/usr.bin/cvs/file.c 2005/07/05 16:55:30 1.92 --- src/usr.bin/cvs/file.c 2005/07/07 14:27:57 1.93 *************** *** 1,4 **** ! /* $OpenBSD: file.c,v 1.92 2005/07/05 16:55:30 joris Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau * All rights reserved. --- 1,4 ---- ! /* $OpenBSD: file.c,v 1.93 2005/07/07 14:27:57 joris Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau * All rights reserved. *************** *** 788,794 **** if (cfp->cf_type != DT_DIR) { SIMPLEQ_INSERT_TAIL(&(cf->cf_files), cfp, ! cf_list); nfiles++; } } else { --- 788,794 ---- if (cfp->cf_type != DT_DIR) { SIMPLEQ_INSERT_TAIL(&(cf->cf_files), cfp, ! cf_list); nfiles++; } } else { *************** *** 848,854 **** if (cfp->cf_type == DT_DIR) { ndirs++; ! SIMPLEQ_INSERT_TAIL(&dirs, cfp, cf_list); } else { /* callback for the file */ --- 848,854 ---- if (cfp->cf_type == DT_DIR) { ndirs++; ! SIMPLEQ_INSERT_TAIL(&dirs, cfp, cf_list); } else { /* callback for the file */ *************** *** 1116,1122 **** else if (ent->ce_type == CVS_ENT_DIR) cfp->cf_type = DT_DIR; else ! cvs_log(LP_WARN, "unknown ce_type %d", ent->ce_type); if (ent->ce_status == CVS_ENT_REMOVED) --- 1116,1122 ---- else if (ent->ce_type == CVS_ENT_DIR) cfp->cf_type = DT_DIR; else ! cvs_log(LP_WARN, "unknown ce_type %d", ent->ce_type); if (ent->ce_status == CVS_ENT_REMOVED) *************** *** 1240,1246 **** cvs_log(LP_ERR, "failed to prune `%s'", path); empty = 0; } ! } return (empty); } --- 1240,1246 ---- cvs_log(LP_ERR, "failed to prune `%s'", path); empty = 0; } ! } return (empty); }