From d855cf1ec8fa4af7d1622dc3c07a257e97bcf59d Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Thu, 12 Jan 2006 11:31:55 +0000 Subject: * doctool.c (scan_directory): Ignore "CVS" directories. --- winsup/doc/ChangeLog | 4 ++++ winsup/doc/doctool.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/winsup/doc/ChangeLog b/winsup/doc/ChangeLog index e3658b0..17b414e 100644 --- a/winsup/doc/ChangeLog +++ b/winsup/doc/ChangeLog @@ -1,3 +1,7 @@ +2006-01-12 Igor Peshansky + + * doctool.c (scan_directory): Ignore "CVS" directories. + 2005-12-30 Christopher Faylor * relnotes.texinfo: Remove entry about hyperthreaded processor. diff --git a/winsup/doc/doctool.c b/winsup/doc/doctool.c index ae034f3..0a5060c 100644 --- a/winsup/doc/doctool.c +++ b/winsup/doc/doctool.c @@ -1,6 +1,6 @@ /* doctool.c - Copyright 1998,1999,2000,2001 Red Hat, Inc. + Copyright 1998,1999,2000,2001,2006 Red Hat, Inc. This file is part of Cygwin. @@ -157,7 +157,7 @@ scan_directory(dirname) STAT(name, &st); - if (S_ISDIR(st.st_mode)) + if (S_ISDIR(st.st_mode) && strcmp(de->d_name, "CVS") != 0) { scan_directory(name); } -- cgit v1.1