. Fixed bug #77272 (imagescale() may return image resource on failure). (cmb)
. Fixed bug #77391 (1bpp BMPs may fail to be loaded). (Romain Déoux, cmb)
+- Mbstring:
+ . Fixed bug #77428 (mb_ereg_replace() doesn't replace a substitution
+ variable). (Nikita)
+
- MySQLnd:
. Fixed bug #75684 (In mysqlnd_ext_plugin.h the plugin methods family has
- no external visibility). (Anatol)
+ no external visibility). (Anatol)
- Opcache:
+ . Fixed bug #77266 (Assertion failed in dce_live_ranges). (Laruence)
+ . Fixed bug #77257 (value of variable assigned in a switch() construct gets
+ lost). (Nikita)
+ . Fixed bug #77434 (php-fpm workers are segfaulting in zend_gc_addre).
+ (Nikita)
+ . Fixed bug #77361 (configure fails on 64-bit AIX when opcache enabled).
+ (Kevin Adler)
+- PCRE:
+ . Fixed bug #77338 (get_browser with empty string). (Nikita)
+
- PDO:
. Fixed bug #77273 (array_walk_recursive corrupts value types leading to PDO
failure). (Nikita)
AC_MSG_RESULT([$msg])
flock_type=unknown
- AC_MSG_CHECKING("whether flock struct is linux ordered")
+ AC_MSG_CHECKING(for struct flock layout)
+
+ if test "$flock_type" = "unknown"; then
-AC_TRY_RUN([
++AC_RUN_IFELSE([AC_LANG_SOURCE([[
+ #include <fcntl.h>
+ struct flock lock = { 1, 2, 3, 4, 5, 6, 7 };
+ int main() {
+ if(lock.l_type == 1 && lock.l_whence == 2 && lock.l_start == 6 && lock.l_len== 7) {
+ return 0;
+ }
+ return 1;
+ }
-], [
++]])], [
+ flock_type=aix64
+ AC_DEFINE([HAVE_FLOCK_AIX64], [], [Struct flock is 64-bit AIX-type])
+ ], [])
+ fi
+
+ if test "$flock_type" = "unknown"; then
-AC_TRY_RUN([
+AC_RUN_IFELSE([AC_LANG_SOURCE([[
#include <fcntl.h>
struct flock lock = { 1, 2, 3, 4, 5 };
int main() {
}
return 1;
}
-], [
+]])], [
flock_type=linux
AC_DEFINE([HAVE_FLOCK_LINUX], [], [Struct flock is Linux-type])
- AC_MSG_RESULT("yes")
- ], [AC_MSG_RESULT("no")], [AC_MSG_RESULT([no])])
+ ], [])
+ fi
- AC_MSG_CHECKING("whether flock struct is BSD ordered")
+ if test "$flock_type" = "unknown"; then
-AC_TRY_RUN([
+AC_RUN_IFELSE([AC_LANG_SOURCE([[
#include <fcntl.h>
struct flock lock = { 1, 2, 3, 4, 5 };
int main() {
}
return 1;
}
-], [
+]])], [
flock_type=bsd
AC_DEFINE([HAVE_FLOCK_BSD], [], [Struct flock is BSD-type])
- AC_MSG_RESULT("yes")
- ], [AC_MSG_RESULT("no")], [AC_MSG_RESULT([no])])
+ ], [])
+ fi
+
+ AC_MSG_RESULT([$flock_type])
if test "$flock_type" = "unknown"; then
AC_MSG_ERROR([Don't know how to define struct flock on this system[,] set --enable-opcache=no])