Items read from a per-directory .cvsignore file should be added to the
authorWayne Davison <wayned@samba.org>
Sat, 17 Jan 2004 01:16:49 +0000 (01:16 +0000)
committerWayne Davison <wayned@samba.org>
Sat, 17 Jan 2004 01:16:49 +0000 (01:16 +0000)
local_exclude_list, not the exclude_list.

flist.c

diff --git a/flist.c b/flist.c
index 55107a7..d8115b6 100644 (file)
--- a/flist.c
+++ b/flist.c
@@ -942,7 +942,7 @@ static void send_directory(int f, struct file_list *flist, char *dir)
        if (cvs_exclude) {
                if (strlen(fname) + strlen(".cvsignore") <= MAXPATHLEN - 1) {
                        strcpy(p, ".cvsignore");
-                       add_exclude_file(&exclude_list,fname,MISSING_OK,ADD_EXCLUDE);
+                       add_exclude_file(&local_exclude_list,fname,MISSING_OK,ADD_EXCLUDE);
                } else {
                        io_error |= IOERR_GENERAL;
                        rprintf(FINFO,