=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cvs/file.c,v retrieving revision 1.211 retrieving revision 1.212 diff -c -r1.211 -r1.212 *** src/usr.bin/cvs/file.c 2008/01/31 10:15:05 1.211 --- src/usr.bin/cvs/file.c 2008/01/31 21:56:34 1.212 *************** *** 1,4 **** ! /* $OpenBSD: file.c,v 1.211 2008/01/31 10:15:05 tobias Exp $ */ /* * Copyright (c) 2006 Joris Vink * Copyright (c) 2004 Jean-Francois Brousseau --- 1,4 ---- ! /* $OpenBSD: file.c,v 1.212 2008/01/31 21:56:34 tobias Exp $ */ /* * Copyright (c) 2006 Joris Vink * Copyright (c) 2004 Jean-Francois Brousseau *************** *** 544,551 **** cvs_get_repository_path(cf->file_path, repo, MAXPATHLEN); cvs_repository_lock(repo); ! cvs_repository_getdir(repo, cf->file_path, &fl, &dl, ! (cr->flags & CR_RECURSE_DIRS)); } cvs_file_walklist(&fl, cr); --- 544,555 ---- cvs_get_repository_path(cf->file_path, repo, MAXPATHLEN); cvs_repository_lock(repo); ! xsnprintf(fpath, sizeof(fpath), "%s/%s", cf->file_path, ! CVS_PATH_STATICENTRIES); ! ! if (stat(fpath, &st) == -1) ! cvs_repository_getdir(repo, cf->file_path, &fl, &dl, ! (cr->flags & CR_RECURSE_DIRS)); } cvs_file_walklist(&fl, cr);