summaryrefslogtreecommitdiff
path: root/gcc/fixincludes
diff options
context:
space:
mode:
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>1993-01-06 03:01:33 +0000
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>1993-01-06 03:01:33 +0000
commita09e6ceabeca05bc4e5a6b7b1a960a92fa396ace (patch)
treeb8b5c7d1445742841580786f2cc3b8d96ee95e8e /gcc/fixincludes
parentcb957b9ebc3e93018fbe0f75b9eb0d0c4b8b602b (diff)
downloadgcc-a09e6ceabeca05bc4e5a6b7b1a960a92fa396ace.tar.gz
(Xmu.h): Add missing ${LIB}/.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@3109 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fixincludes')
-rwxr-xr-xgcc/fixincludes4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/fixincludes b/gcc/fixincludes
index ec8c4ca71bb..1e7051878ec 100755
--- a/gcc/fixincludes
+++ b/gcc/fixincludes
@@ -503,7 +503,7 @@ if [ -r ${LIB}/$file ]; then
echo Fixing $file sprintf declaration
sed -e 's,^extern char \* sprintf();$,#ifndef __STDC__\
extern char * sprintf();\
-#endif /* !defined __STDC__ */,' ${LIB}/$file > ${file}.sed
+#endif /* !defined __STDC__ */,' ${LIB}/$file > ${LIB}/${file}.sed
rm -f ${LIB}/$file; mv ${LIB}/${file}.sed ${LIB}/$file
if cmp $file ${LIB}/$file >/dev/null 2>&1; then
rm ${LIB}/$file
@@ -524,7 +524,7 @@ if [ -r ${LIB}/$file ]; then
echo Fixing $file sprintf declaration
sed -e 's,^extern char \* sprintf();$,#ifndef __STDC__\
extern char * sprintf();\
-#endif /* !defined __STDC__ */,' ${LIB}/$file > ${file}.sed
+#endif /* !defined __STDC__ */,' ${LIB}/$file > ${LIB}/${file}.sed
rm -f ${LIB}/$file; mv ${LIB}/${file}.sed ${LIB}/$file
if cmp $file ${LIB}/$file >/dev/null 2>&1; then
rm ${LIB}/$file