aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1992-06-11 23:15:09 +0000
committerRichard Stallman <rms@gnu.org>1992-06-11 23:15:09 +0000
commit45b33951a8562a13054992d3a2cfb9c42fb121af (patch)
treef5c02426ccf8388e44ce61d74f95a8a4203e367a
parent12fe670beaa226afaa07a491d356050d7f58790f (diff)
downloadgcc-45b33951a8562a13054992d3a2cfb9c42fb121af.zip
gcc-45b33951a8562a13054992d3a2cfb9c42fb121af.tar.gz
gcc-45b33951a8562a13054992d3a2cfb9c42fb121af.tar.bz2
*** empty log message ***
From-SVN: r1194
-rwxr-xr-xgcc/fixincludes6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/fixincludes b/gcc/fixincludes
index a435f24..d46fc4f 100755
--- a/gcc/fixincludes
+++ b/gcc/fixincludes
@@ -146,7 +146,7 @@ while [ $# != 0 ]; do
/#[a-z]*if.*[ (]ns32000/ s/\([^_]\)ns32000/\1__ns32000__/g
/#[a-z]*if.*[ (]pyr/ s/\([^_]\)pyr/\1__pyr__/g
/#[a-z]*if.*[ (]is68k/ s/\([^_]\)is68k/\1__is68k__/g
- /#define.NULL[ ]/ i\
+ /^#define.NULL[ ]/ i\
#undef NULL
' $2/$file > $2/$file.sed
mv $2/$file.sed $2/$file
@@ -237,7 +237,7 @@ fi
if [ -r ${LIB}/$file ]; then
echo Fixing $file
ex ${LIB}/$file <<EOF
- /size_t.*;/
+ /typedef.*size_t.*;/
i
#ifndef _GCC_SIZE_T
#define _GCC_SIZE_T
@@ -287,7 +287,7 @@ fi
if [ -r ${LIB}/$file ]; then
echo Fixing $file, definition of nodeent
ex ${LIB}/$file <<EOF
- g/na_addr/s//&;/
+ g/char.*na_addr *$/s//&;/
wq
EOF
if cmp $file ${LIB}/$file >/dev/null 2>&1; then