]> granicus.if.org Git - php/commitdiff
- Fix ZTS built.
authorMarkus Fischer <mfischer@php.net>
Tue, 4 Jun 2002 08:54:14 +0000 (08:54 +0000)
committerMarkus Fischer <mfischer@php.net>
Tue, 4 Jun 2002 08:54:14 +0000 (08:54 +0000)
ext/posix/posix.c

index f101f61344e279be9444e041be9baa6152e8cfcc..ba0fd292b7b03fd5bf5d144d916e38c1f86337af 100644 (file)
@@ -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;