summaryrefslogtreecommitdiff
path: root/ext/posix
diff options
context:
space:
mode:
authorMarkus Fischer <mfischer@php.net>2002-06-04 08:54:14 +0000
committerMarkus Fischer <mfischer@php.net>2002-06-04 08:54:14 +0000
commitb4bcdda57b16eef4196d2c3bafb477b33b527a94 (patch)
tree5b5860ab4e58476087c2e91bdd7475f626990d0b /ext/posix
parent1528a3d1fb0ed8450c4e8cd803b9ac1aa776e1a0 (diff)
downloadphp-git-b4bcdda57b16eef4196d2c3bafb477b33b527a94.tar.gz
- Fix ZTS built.
Diffstat (limited to 'ext/posix')
-rw-r--r--ext/posix/posix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/posix/posix.c b/ext/posix/posix.c
index f101f61344..ba0fd292b7 100644
--- a/ext/posix/posix.c
+++ b/ext/posix/posix.c
@@ -616,7 +616,7 @@ PHP_FUNCTION(posix_ttyname)
switch (Z_TYPE_P(z_fd)) {
case IS_RESOURCE:
- if (!php_posix_stream_get_fd(Z_RESVAL_P(z_fd), &fd)) {
+ if (!php_posix_stream_get_fd(Z_RESVAL_P(z_fd), &fd TSRMLS_CC)) {
RETURN_FALSE;
}
break;
@@ -646,7 +646,7 @@ PHP_FUNCTION(posix_isatty)
switch (Z_TYPE_P(z_fd)) {
case IS_RESOURCE:
- if (!php_posix_stream_get_fd(Z_RESVAL_P(z_fd), &fd)) {
+ if (!php_posix_stream_get_fd(Z_RESVAL_P(z_fd), &fd TSRMLS_CC)) {
RETURN_FALSE;
}
break;