diff options
author | Anatol Belski <ab@php.net> | 2013-07-03 11:12:46 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2013-07-03 11:12:46 +0200 |
commit | 5324416b6514b6de53e7de269bc18b5807701051 (patch) | |
tree | 2cfafc07a5abdde3010902ea7ca56680090e0a3f /ext/mysqli/mysqli_nonapi.c | |
parent | b52fea6f3595d630541253f675c16a5db55eb8d0 (diff) | |
download | php-git-5324416b6514b6de53e7de269bc18b5807701051.tar.gz |
Fixed bug #65184 strftime() returns insufficient-length
string under multibyte locales
The msdn doc states 'strftime returns the number of characters', but prior
to VS2012 it seems to have returned the number of bytes. Locale independent.
The return is however \0-terminated, so strlen is just fine. The behaivor
seems to be persisting in the later VC++ versions as the corresponding
MSDN ticket is closed 'by design'.
See http://connect.microsoft.com/VisualStudio/feedback/details/766205/vs2012-strftime-has-incorrect-return-value-in-vc-11-with-multibyte-codepages#details
Diffstat (limited to 'ext/mysqli/mysqli_nonapi.c')
0 files changed, 0 insertions, 0 deletions