=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cvs/update.c,v retrieving revision 1.47 retrieving revision 1.48 diff -c -r1.47 -r1.48 *** src/usr.bin/cvs/update.c 2005/12/03 15:31:53 1.47 --- src/usr.bin/cvs/update.c 2005/12/22 14:59:54 1.48 *************** *** 1,4 **** ! /* $OpenBSD: update.c,v 1.47 2005/12/03 15:31:53 joris Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau * All rights reserved. --- 1,4 ---- ! /* $OpenBSD: update.c,v 1.48 2005/12/22 14:59:54 xsa Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau * All rights reserved. *************** *** 244,255 **** if (cf->cf_type == DT_DIR) { if (verbosity > 1) cvs_log(LP_NOTICE, "Updating %s", fpath); - return (CVS_EX_OK); } ! if (cvs_rcs_getpath(cf, rcspath, sizeof(rcspath)) == NULL) ! return (CVS_EX_DATA); /* * Only open the RCS file for files that have not been added. --- 244,253 ---- if (cf->cf_type == DT_DIR) { if (verbosity > 1) cvs_log(LP_NOTICE, "Updating %s", fpath); return (CVS_EX_OK); } ! cvs_rcs_getpath(cf, rcspath, sizeof(rcspath)); /* * Only open the RCS file for files that have not been added.