From: Markus Fischer Date: Tue, 4 Jun 2002 08:54:14 +0000 (+0000) Subject: - Fix ZTS built. X-Git-Tag: RELEASE_0_90~38 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b4bcdda57b16eef4196d2c3bafb477b33b527a94;p=php - Fix ZTS built. --- 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;