=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cvs/file.c,v retrieving revision 1.105 retrieving revision 1.106 diff -c -r1.105 -r1.106 *** src/usr.bin/cvs/file.c 2005/07/25 12:58:22 1.105 --- src/usr.bin/cvs/file.c 2005/07/27 10:36:14 1.106 *************** *** 1,4 **** ! /* $OpenBSD: file.c,v 1.105 2005/07/25 12:58:22 joris Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau * All rights reserved. --- 1,4 ---- ! /* $OpenBSD: file.c,v 1.106 2005/07/27 10:36:14 xsa Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau * All rights reserved. *************** *** 1381,1387 **** empty = (empty == 0); if (empty) { ! if (cvs_remove_dir(path) < 0) { cvs_log(LP_ERR, "failed to prune `%s'", path); empty = 0; } --- 1381,1387 ---- empty = (empty == 0); if (empty) { ! if (cvs_rmdir(path) < 0) { cvs_log(LP_ERR, "failed to prune `%s'", path); empty = 0; }