aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>1994-06-17 19:06:33 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>1994-06-17 19:06:33 +0000
commitd67342cd3d06e760964925fb24291d3aad740894 (patch)
tree5f755e009a578c2819e6371d87db66772046049b /gcc
parentb5a09c4171659ff37af0febe6ec7c301e111cdd9 (diff)
downloadgcc-d67342cd3d06e760964925fb24291d3aad740894.zip
gcc-d67342cd3d06e760964925fb24291d3aad740894.tar.gz
gcc-d67342cd3d06e760964925fb24291d3aad740894.tar.bz2
Correct math.h handling on Lynx again.
From-SVN: r7511
Diffstat (limited to 'gcc')
-rwxr-xr-xgcc/fixincludes2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/fixincludes b/gcc/fixincludes
index bee61d2..323ccac 100755
--- a/gcc/fixincludes
+++ b/gcc/fixincludes
@@ -1395,10 +1395,10 @@ if [ -r ${LIB}/$file ]; then
dbl_max_def=`echo $dbl_max_def | sed 's/.*define[ ]*DBL_MAX[ ]*//'`
sed -e "/define[ ]HUGE_VAL[ ]DBL_MAX/s/DBL_MAX/$dbl_max_def/" \
${LIB}/$file > ${LIB}/${file}.sed
+ rm -f ${LIB}/$file; mv ${LIB}/${file}.sed ${LIB}/$file
fi
fi
fi
- rm -f ${LIB}/$file; mv ${LIB}/${file}.sed ${LIB}/$file
if cmp $file ${LIB}/$file >/dev/null 2>&1; then
echo Deleting ${LIB}/$file\; no fixes were needed.