projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3a0ea74
)
[project @ 1998-11-26 09:17:22 by sof]
author
sof
<unknown>
Thu, 26 Nov 1998 09:17:22 +0000
(09:17 +0000)
committer
sof
<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
patch
|
blob
|
history
diff --git
a/glafp-utils/lndir/lndir.c
b/glafp-utils/lndir/lndir.c
index
da8a467
..
0d77a49
100644
(file)
--- a/
glafp-utils/lndir/lndir.c
+++ b/
glafp-utils/lndir/lndir.c
@@
-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) {