aboutsummaryrefslogtreecommitdiff
path: root/gcc/fixproto
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>2000-04-17 14:40:03 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>2000-04-17 14:40:03 +0000
commit01b2995f8b4d98aaf321f532ca9803d034d8cca4 (patch)
treebd94192e8a7f679387af225250521e5406eb2217 /gcc/fixproto
parent2ce6dc2f6aa48acf42384a35e3ccc565c0677699 (diff)
downloadgcc-01b2995f8b4d98aaf321f532ca9803d034d8cca4.zip
gcc-01b2995f8b4d98aaf321f532ca9803d034d8cca4.tar.gz
gcc-01b2995f8b4d98aaf321f532ca9803d034d8cca4.tar.bz2
Makefile.in (stmp-fixproto): Acknowledge errors in fixproto.
* Makefile.in (stmp-fixproto): Acknowledge errors in fixproto. * fixproto: If fix-header fails, exit with an error. From-SVN: r33208
Diffstat (limited to 'gcc/fixproto')
-rwxr-xr-xgcc/fixproto2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/fixproto b/gcc/fixproto
index 9e02211..c2c8255 100755
--- a/gcc/fixproto
+++ b/gcc/fixproto
@@ -264,6 +264,7 @@ for code in ALL STD ; do
then true
else
$FIX_HEADER $rel_source_file $abs_source_file $abs_target_file ${DEFINES} $include_path
+ if test $? != 0 ; then exit 1 ; fi
echo "${rel_source_file}" >>fixproto.list
fi
done
@@ -299,6 +300,7 @@ EOF
#endif /* __${rel_source_ident} */
EOF
${FIX_HEADER} $rel_source_file tmp.h $abs_target_dir/$rel_source_file ${DEFINES} $include_path
+ if test $? != 0 ; then exit 1 ; fi
rm tmp.h
fi
done