[project @ 1998-11-26 09:17:22 by sof]
[ghc-hetmet.git] / 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) {