X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fvasnprintf.c;h=c60888cdefed45c438985814773d9165a7971b84;hb=a3a70ebafd7f2fdc069d43e8a26fc246dd7fe5bb;hp=bc5834fa926d20c1361a43b20f4b980e85b838a9;hpb=82485375ccac3e5ff6119147e18c7aef62fbf50a;p=gnulib.git diff --git a/lib/vasnprintf.c b/lib/vasnprintf.c index bc5834fa9..c60888cde 100644 --- a/lib/vasnprintf.c +++ b/lib/vasnprintf.c @@ -1297,17 +1297,16 @@ VASNPRINTF (CHAR_T *resultbuf, size_t *lengthp, const CHAR_T *format, va_list ar # if NEED_PRINTF_INFINITE_DOUBLE || (a.arg[dp->arg_index].type == TYPE_DOUBLE /* The systems (mingw) which produce wrong output - for Inf and -Inf also do so for NaN and -0.0. - Therefore we treat these cases here as well. */ + for Inf, -Inf, and NaN also do so for -0.0. + Therefore we treat this case here as well. */ && is_infinite_or_zero (a.arg[dp->arg_index].a.a_double)) # endif # if NEED_PRINTF_LONG_DOUBLE || a.arg[dp->arg_index].type == TYPE_LONGDOUBLE # elif NEED_PRINTF_INFINITE_LONG_DOUBLE || (a.arg[dp->arg_index].type == TYPE_LONGDOUBLE - /* The systems which produce wrong output for Inf - and -Inf also do so for NaN. Therefore treat - this case here as well. */ + /* Some systems produce wrong output for Inf, + -Inf, and NaN. */ && is_infinitel (a.arg[dp->arg_index].a.a_longdouble)) # endif ))