summaryrefslogtreecommitdiff
path: root/ext/pdo
diff options
context:
space:
mode:
authorXinchen Hui <laruence@php.net>2013-11-08 15:32:28 +0800
committerXinchen Hui <laruence@php.net>2013-11-08 15:32:28 +0800
commitcf2626f10c92709f8db44afa15fc09ec6a9d8b0c (patch)
treea0a23a3f562ea78713dc3beec3abe43aab700bf7 /ext/pdo
parentfd3fa9b53c6bc8f34c1c8bf75141f7ee74dc8db0 (diff)
downloadphp-git-cf2626f10c92709f8db44afa15fc09ec6a9d8b0c.tar.gz
Fixed bug #65947 (basename is no more working after fgetcsv in certain situation)
previous codes: "#define php_mblen(ptr, len) ((ptr) == NULL ? mbsinit(&BG(mblen_state)): (int)mbrlen(ptr, len, &BG(mblen_state)))# it use mbsinit there, seems try to initialize the mblen_state, but: "This function does not change the state identified by ps. Typical ways to make the state pointed by ps an initial state are: memset (ps,0,sizeof(*ps)); // ps points to zero-valued object " http://www.cplusplus.com/reference/cwchar/mbsinit/?kw=mbsinit
Diffstat (limited to 'ext/pdo')
0 files changed, 0 insertions, 0 deletions