aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Korb <ddsinc09@ix.netcom.com>1999-06-18 12:44:14 +0000
committerBruce Korb <korbb@gcc.gnu.org>1999-06-18 12:44:14 +0000
commit51bf846ee99c6467b699a96dc8cd94fd461b54c8 (patch)
treea0e0e0d458748f5f6dc816fde46575f7bc2f4fef
parent6fd5ec508b94f22eadb73414c9d71e5478575e3a (diff)
downloadgcc-51bf846ee99c6467b699a96dc8cd94fd461b54c8.zip
gcc-51bf846ee99c6467b699a96dc8cd94fd461b54c8.tar.gz
gcc-51bf846ee99c6467b699a96dc8cd94fd461b54c8.tar.bz2
Scripts must end with a new-line
From-SVN: r27596
-rw-r--r--gcc/ChangeLog3
-rw-r--r--gcc/fixinc/fixincl.x2
-rw-r--r--gcc/fixinc/inclhack.def2
-rwxr-xr-xgcc/fixinc/inclhack.sh6
4 files changed, 8 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 0b1aa84..db43ce0 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,6 +1,9 @@
Fri Jun 18 07:02 1999 Bruce Korb <ddsinc09@ix.netcom.com>
* fixinc/mkfixinc.sh: enable the fixincl program for DG/UX
+ * fixinc/inclhack.def(dgux_int_varargs): script must end with \n
+ *fixinc/fixincl.x: regen
+ *fixinc/inclhack.sh: regen
Thu Jun 17 15:06:10 PDT 1999 Don Lindsay <dlindsay@cygnus.com>
diff --git a/gcc/fixinc/fixincl.x b/gcc/fixinc/fixincl.x
index c9a43cc..f43840c 100644
--- a/gcc/fixinc/fixincl.x
+++ b/gcc/fixinc/fixincl.x
@@ -668,7 +668,7 @@ typedef char * va_list;\n\
#endif /* __LINT__ */\n\
#endif /* !(defined(_VA_LIST) || defined(_VA_LIST_)) */\n\
#endif /* #ifndef __INT_VARARGS_H */\n\
-_EOF_",
+_EOF_\n",
(char*)NULL };
/* * * * * * * * * * * * * * * * * * * * * * * * * *
diff --git a/gcc/fixinc/inclhack.def b/gcc/fixinc/inclhack.def
index 13379c7..5f85223 100644
--- a/gcc/fixinc/inclhack.def
+++ b/gcc/fixinc/inclhack.def
@@ -332,7 +332,7 @@ typedef char * va_list;
\#endif /* __LINT__ */
\#endif /* !(defined(_VA_LIST) || defined(_VA_LIST_)) */
\#endif /* #ifndef __INT_VARARGS_H */
-_EOF_";
+_EOF_\n";
};
diff --git a/gcc/fixinc/inclhack.sh b/gcc/fixinc/inclhack.sh
index 751a176..acd46d9 100755
--- a/gcc/fixinc/inclhack.sh
+++ b/gcc/fixinc/inclhack.sh
@@ -817,7 +817,8 @@ typedef char * va_list;
#endif /* __LINT__ */
#endif /* !(defined(_VA_LIST) || defined(_VA_LIST_)) */
#endif /* #ifndef __INT_VARARGS_H */
-_EOF_ ) < $infile > ${DESTDIR}/fixinc.tmp
+_EOF_
+ ) < $infile > ${DESTDIR}/fixinc.tmp
# Shell scripts have the potential of removing the output
# We interpret that to mean the file is not to be altered
@@ -847,8 +848,7 @@ _EOF_ ) < $infile > ${DESTDIR}/fixinc.tmp
< $infile > ${DESTDIR}/fixinc.tmp
rm -f ${DESTFILE}
mv -f ${DESTDIR}/fixinc.tmp ${DESTFILE}
- fi # end of selection 'if'
-
+ fi # if test
#
# Fix 19: Ecd_Cursor