com php-src: Remove the readline thread-safety warning: ext/readline/php_readline.h

From: Date: Thu, 11 Apr 2019 12:14:21 +0000
Subject: com php-src: Remove the readline thread-safety warning: ext/readline/php_readline.h
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-105653@lists.php.net to get a copy of this message
Commit: 2916ecabe09953af7b3e6cf724a8c61a5058c1f2 Author: Nikita Popov <nikita.ppv@gmail.com> Thu, 11 Apr 2019 14:12:38 +0200 Parents: 651fd1a96249940412f79352cb10ce61cc83d5c7 Branches: PHP-7.4 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=2916ecabe09953af7b3e6cf724a8c61a5058c1f2 Log: Remove the readline thread-safety warning Would be nice to have this in configure, but we'd have to change the ordering of extension & Zend processing for that. Changed paths: M ext/readline/php_readline.h Diff: diff --git a/ext/readline/php_readline.h b/ext/readline/php_readline.h index bcd61bc..8d55228 100644 --- a/ext/readline/php_readline.h +++ b/ext/readline/php_readline.h @@ -20,11 +20,6 @@ #define PHP_READLINE_H #if HAVE_LIBREADLINE || HAVE_LIBEDIT -#ifndef PHP_WIN32 -#ifdef ZTS -#warning Readline module will *NEVER* be thread-safe -#endif -#endif extern zend_module_entry readline_module_entry; #define phpext_readline_ptr &readline_module_entry

« previous php.cvs (#105653) next »