From: Jani Taskinen Date: Thu, 8 Oct 2009 14:21:53 +0000 (+0000) Subject: - Fixed bug #49809 (time_sleep_until is not available on solaris) X-Git-Tag: php-5.2.12RC1~78 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=98a866538395d5376a0f00926bb072242054b9b7;p=php - Fixed bug #49809 (time_sleep_until is not available on solaris) --- diff --git a/NEWS b/NEWS index b715f3c624..4d309f67b6 100644 --- 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). diff --git a/configure.in b/configure.in index 6669adc7ab..45a1099a5f 100644 --- a/configure.in +++ b/configure.in @@ -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 \ )