ASF Bugzilla – Attachment 11860 Details for
Bug 29621
apr_snprintf ignores precision for small floats.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Possible solution.
apr_snprintf.c.patch (text/plain), 437 bytes, created by
Artur Zaprzala
on 2004-06-16 18:54:28 UTC
(
hide
)
Description:
Possible solution.
Filename:
MIME Type:
Creator:
Artur Zaprzala
Created:
2004-06-16 18:54:28 UTC
Size:
437 bytes
patch
obsolete
>--- apr_snprintf.c-orig 2004-06-16 20:21:32.000000000 +0200 >+++ apr_snprintf.c 2004-06-16 20:28:32.360027162 +0200 >@@ -132,11 +132,12 @@ > p1 = &buf[ndigits]; > if (eflag == 0) > p1 += r2; >- *decpt = r2; > if (p1 < &buf[0]) { >+ *decpt = -ndigits; > buf[0] = '\0'; > return (buf); > } >+ *decpt = r2; > while (p <= p1 && p < &buf[NDIG]) { > arg *= 10; > arg = modf(arg, &fj);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 29621
: 11860 |
11861