diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2006-01-12 11:31:55 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2006-01-12 11:31:55 +0000 |
commit | d855cf1ec8fa4af7d1622dc3c07a257e97bcf59d (patch) | |
tree | d24974c7d8bfac44cf14d4329f802814a2029644 /winsup | |
parent | 9287bcd5348460c4dc49514eb08bc819b6d97771 (diff) | |
download | newlib-d855cf1ec8fa4af7d1622dc3c07a257e97bcf59d.zip newlib-d855cf1ec8fa4af7d1622dc3c07a257e97bcf59d.tar.gz newlib-d855cf1ec8fa4af7d1622dc3c07a257e97bcf59d.tar.bz2 |
* doctool.c (scan_directory): Ignore "CVS" directories.
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/doc/ChangeLog | 4 | ||||
-rw-r--r-- | 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 <pechtcha@cs.nyu.edu> + + * doctool.c (scan_directory): Ignore "CVS" directories. + 2005-12-30 Christopher Faylor <cgf@timesys.com> * 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); } |