time_sleep_until is not available on solaris
| Bug #49809 | time_sleep_until is not available on solaris | ||||
|---|---|---|---|---|---|
| Submitted: | 2009-10-08 08:23 UTC | Modified: | 2009-10-08 14:22 UTC | ||
| From: | sriram dot natarajan at gmail dot com | Assigned: | jani (profile) | ||
| Status: | Closed | Package: | Compile Failure | ||
| PHP Version: | 5.3SVN-2009-10-08 (SVN) | OS: | solaris | ||
| Private report: | No | CVE-ID: | None | ||
[2009-10-08 08:23 UTC] sriram dot natarajan at gmail dot com
Description: ------------ while investigating another bug, i noticed that time_sleep_until function is not available on opensolaris. While debugging, I realized that solaris defines the time related functions within -lrt and PHP_CHECK_FUNCS macros is not able to correctly identify that this function is available within system . because of this, nanosleep dependent API is disabled on this platform Reproduce code: --------------- time_sleep_until function is not available in solaris / opensolaris Expected result: ---------------- this function should be available on platforms where nanosleep is available. Actual result: -------------- time_sleep_until or other nanosleep dependent functions are not available
Patches
Pull Requests
History
AllCommentsChangesGit/SVN commits
[2009-10-08 08:28 UTC] srinatar@php.net
[2009-10-08 14:16 UTC] jani@php.net