Commit d096c372 by Ian Lance Taylor

Fix #endif comments

From-SVN: r4286
parent a3d6ace6
...@@ -1021,6 +1021,17 @@ then ...@@ -1021,6 +1021,17 @@ then
ln -s ${INPUT}/multimedia/audio_hdr.h ${LIB}/multimedia 2>/dev/null ln -s ${INPUT}/multimedia/audio_hdr.h ${LIB}/multimedia 2>/dev/null
fi fi
# These files on Ultrix 4.2 put comments around instances of #endif
# __mips. When the sed expression turns that into #endif /* __mips */
# the comment ends prematurely.
for file in sys/audit.h sys/signal.h; do
if [ -r ${LIB}/${file} ]; then
echo Fixing $file, early comment termination
sed -e 's|^#endif /\*.*\*/|#endif|g' ${LIB}/${file} > ${LIB}/${file}.sed
rm -f ${LIB}/$file; mv ${LIB}/${file}.sed ${LIB}/$file
fi
done
echo 'Removing unneeded directories:' echo 'Removing unneeded directories:'
cd $LIB cd $LIB
files=`find . -type d -print | sort -r` files=`find . -type d -print | sort -r`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment