diff options
author | Jim Wilson <wilson@gcc.gnu.org> | 1993-09-08 12:10:46 -0700 |
---|---|---|
committer | Jim Wilson <wilson@gcc.gnu.org> | 1993-09-08 12:10:46 -0700 |
commit | 0ff763984912590ad1e5452d7203f33484d6c118 (patch) | |
tree | cd346b558a5f736737b519f4f5720b5f0308a3f3 | |
parent | fa0d53694efb0e04079f2785c6263c08be9c952c (diff) | |
download | gcc-0ff763984912590ad1e5452d7203f33484d6c118.zip gcc-0ff763984912590ad1e5452d7203f33484d6c118.tar.gz gcc-0ff763984912590ad1e5452d7203f33484d6c118.tar.bz2 |
(sbusdev/audiovar.h): Fix wrongly edited // comments
nested within /* */ comments.
From-SVN: r5289
-rwxr-xr-x | gcc/fixincludes | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gcc/fixincludes b/gcc/fixincludes index e7a30dc..7d453a2 100755 --- a/gcc/fixincludes +++ b/gcc/fixincludes @@ -828,6 +828,17 @@ if [ -r ${LIB}/$file ]; then fi fi +# Same problem with a file from SunOS 4.1.3 : a header file containing +# the string "//" embedded in "/**/" +file=sbusdev/audiovar.h +if [ -r ${LIB}/$file ]; then + echo Fixing $file, overeager sed script + rm ${LIB}/$file + sed -e 's|//.*$||g' $file > ${LIB}/$file + chmod +w ${LIB}/$file 2>/dev/null + chmod a+r ${LIB}/$file 2>/dev/null +fi + # Fix non-ANSI memcpy declaration that conflicts with gcc's builtin # declaration on Sun OS 4.x. We must only fix this on Sun OS 4.x, because # many other systems have similar text but correct versions of the file. |