mirror of
https://github.com/php/php-src.git
synced 2024-12-13 11:54:45 +08:00
brought back that vs2012 fix
This commit is contained in:
parent
53c4c571b3
commit
d4f463cf08
@ -1698,7 +1698,7 @@ PHPAPI void php_strftime(INTERNAL_FUNCTION_PARAMETERS, int gmt)
|
||||
/* VS2012 strftime() returns number of characters, not bytes.
|
||||
See VC++11 bug id 766205. */
|
||||
if (real_len > 0) {
|
||||
real_len = buf->len;
|
||||
real_len = strlen(buf->val);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user