diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0b1aa849dbb..db43ce04052 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 c9a43cc697c..f43840cf47c 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 13379c7f58a..5f852236062 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 751a1763edd..acd46d92fdb 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