]> granicus.if.org Git - php/commitdiff
- Fixed bug #49809 (time_sleep_until is not available on solaris)
authorJani Taskinen <jani@php.net>
Thu, 8 Oct 2009 14:21:53 +0000 (14:21 +0000)
committerJani Taskinen <jani@php.net>
Thu, 8 Oct 2009 14:21:53 +0000 (14:21 +0000)
NEWS
configure.in

diff --git a/NEWS b/NEWS
index b715f3c624f5211f0e818a1b6e452e19fc50a4cf..4d309f67b60f89aa5dfc4e74febb88290b07dba4 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -6,6 +6,7 @@ PHP                                                                        NEWS
 - Fixed a open_basedir bypass in posix_mkfifo() identified by Grzegorz 
   Stachowiak.  (Rasmus)
 
+- Fixed bug #49809 (time_sleep_until() is not available on OpenSolaris). (Jani)
 - Fixed bug #49757 (long2ip() can return wrong value in a multi-threaded
   applications). (Ilia, Florian Anderiasch)
 - Fixed bug #49738 (calling mcrypt() after mcrypt_generic_deinit() crashes).
index 6669adc7abeae12a6a25c6b3bb200cb7fb5c6794..45a1099a5f9e8413154acd1e66b452bc57e95b17 100644 (file)
@@ -366,6 +366,8 @@ dnl in -lc, -lbind and -lresolv
 PHP_CHECK_FUNC(inet_aton, resolv, bind)
 PHP_CHECK_FUNC(dn_skipname, resolv, bind)
 
+dnl Some systems (like OpenSolaris) do not have nanosleep in libc
+PHP_CHECK_FUNC(nanosleep, rt)
 
 dnl Then headers.
 dnl -------------------------------------------------------------------------
@@ -594,7 +596,6 @@ tzset \
 unlockpt \
 unsetenv \
 usleep \
-nanosleep \
 utime \
 vsnprintf \
 )