summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/phpdbg_help.c
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2013-12-09 16:54:42 +0100
committerArd Biesheuvel <ard.biesheuvel@linaro.org>2013-12-09 16:54:42 +0100
commitf33265d57281910652bb58f5f9d8bd9d9dd44fe8 (patch)
tree55198f6343c53a7873fe8dd7dd9f26c7383f7a40 /sapi/phpdbg/phpdbg_help.c
parentcfd5ea43017500379ae302a67347641712e921ac (diff)
downloadphp-git-f33265d57281910652bb58f5f9d8bd9d9dd44fe8.tar.gz
cli: don't cast away const in select() timeout argument
The timeout argument to select() is modified to reflect the time remaining when the function returns on a non-timeout condition. Passing a pointer to const data and casting away the const-ness is asking for trouble, but for some reason, this trouble manifests itself only on non-x86 architectures [whose implementation of select() in glibc is different from the one supplied for x86] Fix this by passing a stack copy of the timeout argument to select()
Diffstat (limited to 'sapi/phpdbg/phpdbg_help.c')
0 files changed, 0 insertions, 0 deletions