[project @ 1998-11-26 09:17:22 by sof]
authorsof <unknown>
Thu, 26 Nov 1998 09:17:22 +0000 (09:17 +0000)
committersof <unknown>
Thu, 26 Nov 1998 09:17:22 +0000 (09:17 +0000)
don't include the non-conflict files that CVS leaves behind in the build tree

glafp-utils/lndir/lndir.c

index da8a467..0d77a49 100644 (file)
@@ -207,6 +207,8 @@ int rel;                    /* if true, prepend "../" to fn before using */
     while (dp = readdir (df)) {
        if (dp->d_name[strlen(dp->d_name) - 1] == '~')
            continue;
+       if (dp->d_name[0] == '.' && dp->d_name[1] == '#') /* 'non-conflict files' left behind by CVS */
+           continue;
        strcpy (p, dp->d_name);
 
        if (n_dirs > 0) {