From 8739838dfbcbb0ffbc05cbe7839c0acea4238ca8 Mon Sep 17 00:00:00 2001 From: Jim Wilson Date: Tue, 5 Jan 1993 19:01:33 -0800 Subject: [PATCH] (Xmu.h): Add missing ${LIB}/. From-SVN: r3109 --- gcc/fixincludes | 4 ++-- 1 file 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 -- 2.30.2