From 51bf846ee99c6467b699a96dc8cd94fd461b54c8 Mon Sep 17 00:00:00 2001 From: Bruce Korb Date: Fri, 18 Jun 1999 12:44:14 +0000 Subject: Scripts must end with a new-line From-SVN: r27596 --- gcc/ChangeLog | 3 +++ gcc/fixinc/fixincl.x | 2 +- gcc/fixinc/inclhack.def | 2 +- gcc/fixinc/inclhack.sh | 6 +++--- 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 * 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 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 -- cgit v1.1