summaryrefslogtreecommitdiff
path: root/gcc/fixproto
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2000-04-17 14:40:03 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2000-04-17 14:40:03 +0000
commit6cb9024d53a964f8ccdbd1245efee898dae864db (patch)
treebd94192e8a7f679387af225250521e5406eb2217 /gcc/fixproto
parent02b0feebdcf5db4cefb79f1178269647b57bed92 (diff)
downloadgcc-6cb9024d53a964f8ccdbd1245efee898dae864db.tar.gz
* Makefile.in (stmp-fixproto): Acknowledge errors in fixproto.
* fixproto: If fix-header fails, exit with an error. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33208 138bc75d-0d04-0410-961f-82ee72b054a4
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 9e022113ea0..c2c82552a4b 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