apr-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 48476] apr_psprintf() does not parse the ll or hh size specifiers
Date Fri, 20 Aug 2010 18:19:39 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=48476

--- Comment #9 from Chris Knight <Christopher.D.Knight@nasa.gov> 2010-08-20 14:19:35
EDT ---
Of course 16-byte (128-bit) ints are in our future but a more significant
re-write (adding another IS_* enum, adding code to convert to strin, etc.) will
be needed to add support for such ints.

In the meantime, apr_psprintf is incompatible with the system printf in the
worst, segfault-causing-kind-of way. "The perfect being the enemy of the good."

Note, also that the current code would incorrectly handle 128-byte ints. (%ll
== IS_QUAD == apr_int64_t...)

Of course, if there are 4-byte %ll's or 16-byte %ll's, I'm happy to help write
the code to handle.

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


Mime
View raw message