(Xmu.h): Add missing ${LIB}/.
authorJim Wilson <wilson@gcc.gnu.org>
Wed, 6 Jan 1993 03:01:33 +0000 (19:01 -0800)
committerJim Wilson <wilson@gcc.gnu.org>
Wed, 6 Jan 1993 03:01:33 +0000 (19:01 -0800)
From-SVN: r3109

gcc/fixincludes

index ec8c4ca71bb12f297c73ad156f3f1974592bdee4..1e7051878eca98820782766de90b235a3474c5f5 100755 (executable)
@@ -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