|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-03-29 14:41 UTC] sniper@php.net
[2005-04-08 07:45 UTC] sniper@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 07:00:01 2025 UTC |
Description: ------------ ap_php_snprintf, which is used unconditionally in 4.3.10, doesn't handle %lld. please revert the change or fix ap_php_snprintf. Reproduce code: --------------- this works: int main (int argc, char **argv) { char tmp[256]; int tmp_len = snprintf((char *)&tmp, sizeof(tmp) - 1, "%lld", 127LL); printf("strlen (%s) == %d\n", tmp, tmp_len); return 0; } replace the snprintf with ap_php_snprintf, and you'll get "%ld" instead of "127".