1
0
mirror of https://github.com/php/php-src.git synced 2026-03-27 17:52:16 +01:00
Files
archived-php-src/sapi
Ard Biesheuvel f33265d572 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()
2013-12-09 16:54:42 +01:00
..
2013-01-01 16:37:09 +08:00
2013-11-18 21:43:59 +00:00
2013-01-01 16:37:09 +08:00
2013-10-31 03:18:36 -07:00
2013-01-01 16:37:09 +08:00
2013-01-01 16:37:09 +08:00
2013-06-10 14:30:59 -07:00
2013-01-01 16:37:09 +08:00
2013-01-01 16:37:09 +08:00