diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-02-01 12:44:52 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1998-02-01 12:44:52 +0000 |
commit | 631b8355fb22922521a02b7e92024f1cf2d13079 (patch) | |
tree | 5f877dfe4f2ad0ec448a75eae6a78a99aa2acf86 /libio/gen-params | |
parent | fc1317ae3178e132fc829d5c29713d2465f6a779 (diff) | |
download | gcc-631b8355fb22922521a02b7e92024f1cf2d13079.tar.gz |
* iostream.cc (istream::operator>>(long double&))
[!_G_HAVE_LONG_DOUBLE_IO]: Scan value into separate variable, in
case long double is bigger than double.
(ostream::operator<<(double)) [_G_HAVE_PRINTF_FP]: Fix order of
initializers of struct printf_info to match declaration order,
to work around g++ bug.
(ostream::operator<<(long double)) [_G_HAVE_PRINTF_FP]: Likewise.
* gen-params: Add missing quotes. Avoid useless use of command
substitution.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17582 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libio/gen-params')
-rwxr-xr-x | libio/gen-params | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libio/gen-params b/libio/gen-params index bd652b68da5..37ee742e21c 100755 --- a/libio/gen-params +++ b/libio/gen-params @@ -277,7 +277,7 @@ fi tr ' ' ' ' <TMP >dummy.out for TYPE in dev_t clock_t fpos_t gid_t ino_t mode_t nlink_t off_t pid_t ptrdiff_t sigset_t size_t ssize_t time_t uid_t va_list wchar_t wint_t int16_t uint16_t int32_t uint_32_t u_int16_t u_int32_t; do - IMPORTED=`eval 'echo $'"$TYPE"` + eval IMPORTED=\$$TYPE if [ -n "${IMPORTED}" ] ; then eval "$TYPE='$IMPORTED'" else @@ -318,9 +318,9 @@ done # Look for some standard macros. for NAME in BUFSIZ FOPEN_MAX FILENAME_MAX NULL; do - IMPORTED=`eval 'echo $'"$NAME"` + eval IMPORTED=\$$NAME if [ -n "${IMPORTED}" ] ; then - eval "$NAME='$IMPORTED /* specified */" + eval "$NAME='$IMPORTED /* specified */'" else rm -f TMP ${SED} -n -e 's| *;|;|g' -e "s|long X${NAME}= *\(.*\);|\1|w TMP" \ @@ -334,9 +334,9 @@ done # These macros must be numerical constants; strip any trailing 'L's. for NAME in SHRT_MAX INT_MAX LONG_MAX LONG_LONG_MAX; do - IMPORTED=`eval 'echo $'"$NAME"` + eval IMPORTED=\$$NAME if [ -n "${IMPORTED}" ] ; then - eval "$NAME='$IMPORTED /* specified */" + eval "$NAME='$IMPORTED /* specified */'" else rm -f TMP ${SED} -n -e 's| *;|;|g' -e "s|long X${NAME}= *\([0-9]*\)L* *;|\1|w TMP" \ |