apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Re: [PATCH] %lld support in apr_snprintf()
Date Thu, 16 Dec 2010 20:23:05 GMT

Here is my idea... currently, when looking for sizes
and formats for off_t, we do from smallest to largest
(int -> long -> long long). We also do the same when
checking apr_int64_t as well...

What if we do the reverse? What if instead of finding
the smallest that is the right size, we find the first,
starting with the longest?

I'm trying that out now, so we'll see...

View raw message