=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cvs/util.c,v retrieving revision 1.45 retrieving revision 1.46 diff -u -r1.45 -r1.46 --- src/usr.bin/cvs/util.c 2005/07/27 10:36:14 1.45 +++ src/usr.bin/cvs/util.c 2005/07/27 10:38:01 1.46 @@ -1,4 +1,4 @@ -/* $OpenBSD: util.c,v 1.45 2005/07/27 10:36:14 xsa Exp $ */ +/* $OpenBSD: util.c,v 1.46 2005/07/27 10:38:01 xsa Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau * All rights reserved. @@ -554,6 +554,11 @@ DIR *dirp; struct dirent *ent; char fpath[MAXPATHLEN]; + + cvs_log(LP_TRACE, "cvs_rmdir(%s)", path); + + if (cvs_noexec == 1) + return (0); if ((dirp = opendir(path)) == NULL) { cvs_log(LP_ERRNO, "failed to open '%s'", path);