=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cvs/commit.c,v retrieving revision 1.32 retrieving revision 1.33 diff -c -r1.32 -r1.33 *** src/usr.bin/cvs/commit.c 2005/05/20 05:13:44 1.32 --- src/usr.bin/cvs/commit.c 2005/05/20 20:00:53 1.33 *************** *** 1,4 **** ! /* $OpenBSD: commit.c,v 1.32 2005/05/20 05:13:44 joris Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau * All rights reserved. --- 1,4 ---- ! /* $OpenBSD: commit.c,v 1.33 2005/05/20 20:00:53 joris Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau * All rights reserved. *************** *** 198,208 **** if (cf->cf_type == DT_DIR) { if (root->cr_method != CVS_METHOD_LOCAL) { ! if (cf->cf_cvstat != CVS_FST_UNKNOWN) ! ret = cvs_senddir(root, cf); } ! return (ret); } cvs_file_getpath(cf, fpath, sizeof(fpath)); --- 198,210 ---- if (cf->cf_type == DT_DIR) { if (root->cr_method != CVS_METHOD_LOCAL) { ! if (cf->cf_cvstat != CVS_FST_UNKNOWN) { ! if (cvs_senddir(root, cf) < 0) ! return (CVS_EX_PROTO); ! } } ! return (0); } cvs_file_getpath(cf, fpath, sizeof(fpath)); *************** *** 241,247 **** if (l == -1 || l >= (int)sizeof(rcspath)) { errno = ENAMETOOLONG; cvs_log(LP_ERRNO, "%s", rcspath); ! return (-1); } return (0); --- 243,249 ---- if (l == -1 || l >= (int)sizeof(rcspath)) { errno = ENAMETOOLONG; cvs_log(LP_ERRNO, "%s", rcspath); ! return (CVS_EX_DATA); } return (0);