diff options
author | Richard Stallman <rms@gnu.org> | 1993-11-05 07:51:14 +0000 |
---|---|---|
committer | Richard Stallman <rms@gnu.org> | 1993-11-05 07:51:14 +0000 |
commit | 12a3cb7a2e2ba95aa90b951ce2b69a1088f36808 (patch) | |
tree | d50c40c81265b64483d0444f3e187ec6529c1942 /gcc/fixproto | |
parent | bc2eeab25691655e7225667273bafd72c34e8266 (diff) | |
download | gcc-12a3cb7a2e2ba95aa90b951ce2b69a1088f36808.tar.gz |
Don't scan sub-directories whose names end in CC
or contain ++ - these are probably C++ directories.
From-SVN: r6007
Diffstat (limited to 'gcc/fixproto')
-rwxr-xr-x | gcc/fixproto | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/fixproto b/gcc/fixproto index c21f1c1ea0a..23052a20713 100755 --- a/gcc/fixproto +++ b/gcc/fixproto @@ -135,8 +135,11 @@ for code in ALL STD ; do newdirs= for d in $dirs ; do # Find all directories under $d, relative to $d, excluding $d itself. + # Assume directory names ending in CC or containing ++ are + # for C++, so skip those. subdirs="$subdirs "`cd $rel_source_dir/$d; find . -type d -print | \ - sed -e '/^\.$/d' -e "s|^\./|${d}/|" -e 's|^\./||'` + sed -e '/^\.$/d' -e "s|^\./|${d}/|" -e 's|^\./||' \ + -e '/CC$/d' -e '/\+\+/d'` links= links=`cd $rel_source_dir; find $d/. -type l -print | \ sed -e "s|$d/./|$d/|" -e 's|^\./||'` |