=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cvs/Attic/resp.c,v retrieving revision 1.7 retrieving revision 1.8 diff -c -r1.7 -r1.8 *** src/usr.bin/cvs/Attic/resp.c 2004/09/23 15:35:10 1.7 --- src/usr.bin/cvs/Attic/resp.c 2004/11/26 16:23:50 1.8 *************** *** 1,4 **** ! /* $OpenBSD: resp.c,v 1.7 2004/09/23 15:35:10 jfb Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau * All rights reserved. --- 1,4 ---- ! /* $OpenBSD: resp.c,v 1.8 2004/11/26 16:23:50 jfb Exp $ */ /* * Copyright (c) 2004 Jean-Francois Brousseau * All rights reserved. *************** *** 384,390 **** cf = cvs_file_find(sdir, file); if (cf == NULL) { /* attempt to create it */ ! cf = cvs_file_create(line, DT_DIR, 0755); if (cf == NULL) return (-1); cf->cf_ddat->cd_repo = strdup(line); --- 384,390 ---- cf = cvs_file_find(sdir, file); if (cf == NULL) { /* attempt to create it */ ! cf = cvs_file_create(sdir, line, DT_DIR, 0755); if (cf == NULL) return (-1); cf->cf_ddat->cd_repo = strdup(line); *************** *** 395,401 **** /* add a directory entry to the parent */ if (CVS_DIR_ENTRIES(sdir) != NULL) { ! snprintf(buf, sizeof(buf), "D/%s////", cf->cf_name); ent = cvs_ent_parse(buf); if (ent == NULL) cvs_log(LP_ERR, --- 395,402 ---- /* add a directory entry to the parent */ if (CVS_DIR_ENTRIES(sdir) != NULL) { ! snprintf(buf, sizeof(buf), "D/%s////", ! CVS_FILE_NAME(cf)); ent = cvs_ent_parse(buf); if (ent == NULL) cvs_log(LP_ERR,