diff options
author | Joris Vink <joris@cvs.openbsd.org> | 2005-05-28 01:34:29 +0000 |
---|---|---|
committer | Joris Vink <joris@cvs.openbsd.org> | 2005-05-28 01:34:29 +0000 |
commit | 42b2ee984c2ac7fd32e721926779b163bc311fa3 (patch) | |
tree | 55666c4fb351b1d4b48d004969f931a7d363cee5 | |
parent | e045c7e94d280d0855ae416988e6bf0097b6c6f0 (diff) |
make sure we check the Entry file when we need to.
ok jfb@
-rw-r--r-- | usr.bin/cvs/file.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/cvs/file.c b/usr.bin/cvs/file.c index 9ac42f57760..c0ae26ea219 100644 --- a/usr.bin/cvs/file.c +++ b/usr.bin/cvs/file.c @@ -1,4 +1,4 @@ -/* $OpenBSD: file.c,v 1.80 2005/05/25 09:42:12 jfb Exp $ */ +/* $OpenBSD: file.c,v 1.81 2005/05/28 01:34:28 joris Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau <jfb@openbsd.org> * All rights reserved. @@ -621,7 +621,8 @@ cvs_file_getdir(CVSFILE *cf, int flags, char *path, int (*cb)(CVSFILE *, void *) DIR *dirp; CVSENTRIES *entfile; - check_entry = ndirs = nfiles = 0; + check_entry = 1; + ndirs = nfiles = 0; SIMPLEQ_INIT(&dirs); cvs_file_getpath(cf, fpath, sizeof(fpath)); |