Thanks!  I just committed the fix.
--Brian

Matsuzaki Yoshinobu wrote:

In apr_strings.c, unit character as giga[G] is lost in apr_strfsize().
So, apr_strfsize() returns wrong value if over Giga-unit data applied.

--- apr_strings-old.c   Thu Mar 14 08:27:24 2002
+++ apr_strings.c       Wed May  8 02:33:06 2002
@@ -265,7 +265,7 @@

APR_DECLARE(char *) apr_strfsize(apr_off_t size, char *buf)
{
-    const char ord[] = "KMTPE";
+    const char ord[] = "KMGTPE";
    const char *o = ord;
    int remain;

thanks.
-----
Matsuzaki Yoshinobu <[EMAIL PROTECTED]> - Internet Initiative Japan Inc.







Reply via email to