com php-src: remove fetches in readline: ext/readline/readline.c ext/readline/readline_cli.c
| From: | Joe Watkins | Date: | Sat, 27 Sep 2014 15:13:28 +0000 |
| Subject: | com php-src: remove fetches in readline: ext/readline/readline.c ext/readline/readline_cli.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-81984@lists.php.net to get a copy of this message | ||
Commit: 3e5dd17dada58634d85363e74b53c00ecd7201b2
Author: krakjoe <joe.watkins@live.co.uk> Sat, 27 Sep 2014 16:13:28 +0100
Parents: ed6f24b92e77881129d13a95bdd93a3b77e91153
Branches: native-tls
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=3e5dd17dada58634d85363e74b53c00ecd7201b2
Log:
remove fetches in readline
Changed paths:
M ext/readline/readline.c
M ext/readline/readline_cli.c
Diff:
diff --git a/ext/readline/readline.c b/ext/readline/readline.c
index 0e7b146..1b4fa51 100644
--- a/ext/readline/readline.c
+++ b/ext/readline/readline.c
@@ -481,7 +481,6 @@ static char **_readline_completion_cb(const char *text, int start, int end)
zval params[3];
int i;
char **matches = NULL;
- TSRMLS_FETCH();
_readline_string_zval(¶ms[0], text);
_readline_long_zval(¶ms[1], start);
@@ -544,7 +543,6 @@ static void php_rl_callback_handler(char *the_line)
{
zval params[1];
zval dummy;
- TSRMLS_FETCH();
ZVAL_NULL(&dummy);
diff --git a/ext/readline/readline_cli.c b/ext/readline/readline_cli.c
index ff0671c..ed15af5 100644
--- a/ext/readline/readline_cli.c
+++ b/ext/readline/readline_cli.c
@@ -512,7 +512,6 @@ TODO:
*/
char *retval = NULL;
int textlen = strlen(text);
- TSRMLS_FETCH();
if (!index) {
cli_completion_state = 0;