apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Holsman <I...@cnet.com>
Subject apr_snprintf fails on solaris 2.6
Date Fri, 27 Apr 2001 17:06:16 GMT
Solaris 2.6 does not have a 'isinf' function

Index: apr_snprintf.c
===================================================================
RCS file: /home/cvspublic/apr/strings/apr_snprintf.c,v
retrieving revision 1.13
diff -u -r1.13 apr_snprintf.c
--- apr_snprintf.c      2001/04/27 13:01:59     1.13
+++ apr_snprintf.c      2001/04/27 17:10:34
@@ -958,10 +958,6 @@
                    s = "nan";
                    s_len = 3;
                }
-               else if (isinf(fp_num)) {
-                   s = "inf";
-                   s_len = 3;
-               }
                else {
                    s = conv_fp(*fmt, fp_num, alternate_form,
                            (adjust_precision == NO) ? FLOAT_DIGITS : precision,

--
Ian Holsman
Performance Measurement & Analysis
415-364-8608 

Mime
View raw message