From: Jim Wilson Date: Wed, 6 Jan 1993 03:01:33 +0000 (-0800) Subject: (Xmu.h): Add missing ${LIB}/. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=8739838dfbcbb0ffbc05cbe7839c0acea4238ca8;p=gcc.git (Xmu.h): Add missing ${LIB}/. From-SVN: r3109 --- 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