=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cvs/remote.c,v retrieving revision 1.1 retrieving revision 1.2 diff -c -r1.1 -r1.2 *** src/usr.bin/cvs/remote.c 2006/07/07 17:37:17 1.1 --- src/usr.bin/cvs/remote.c 2006/07/08 00:34:20 1.2 *************** *** 1,4 **** ! /* $OpenBSD: remote.c,v 1.1 2006/07/07 17:37:17 joris Exp $ */ /* * Copyright (c) 2006 Joris Vink * --- 1,4 ---- ! /* $OpenBSD: remote.c,v 1.2 2006/07/08 00:34:20 joris Exp $ */ /* * Copyright (c) 2006 Joris Vink * *************** *** 190,195 **** --- 190,202 ---- else cf->file_status = FILE_REMOVED; return; + } + + if (cf->file_ent != NULL) { + if (cf->file_ent->ce_type == CVS_ENT_DIR) + cf->file_type = CVS_DIR; + else + cf->file_type = CVS_FILE; } if (cf->fd != -1 && cf->file_ent != NULL) {