diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2003-01-19 00:45:53 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2003-01-19 00:45:53 +0000 |
commit | 3d8e54f3a2f72eeaf22a5ffd66a7e5465f60127c (patch) | |
tree | 1784e782a671b83758c0c836088026f73897c0ef /ext/posix/posix.c | |
parent | add3ec4e0ba076db7cdece4bfdb852b8333e198d (diff) | |
download | php-git-3d8e54f3a2f72eeaf22a5ffd66a7e5465f60127c.tar.gz |
Changed php_error to php_error_docref.
Diffstat (limited to 'ext/posix/posix.c')
-rw-r--r-- | ext/posix/posix.c | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/ext/posix/posix.c b/ext/posix/posix.c index ac6b42f0fb..73034d0820 100644 --- a/ext/posix/posix.c +++ b/ext/posix/posix.c @@ -766,8 +766,7 @@ PHP_FUNCTION(posix_getgrnam) array_init(return_value); if (!php_posix_group_to_array(g, return_value)) { - php_error(E_WARNING, "%s() unable to convert posix group to array", - get_active_function_name(TSRMLS_C)); + php_error_docref(NULL TSRMLS_CC, E_WARNING, "unable to convert posix group to array"); RETURN_FALSE; } } @@ -791,8 +790,7 @@ PHP_FUNCTION(posix_getgrgid) array_init(return_value); if (!php_posix_group_to_array(g, return_value)) { - php_error(E_WARNING, "%s() unable to convert posix group struct to array", - get_active_function_name(TSRMLS_C)); + php_error_docref(NULL TSRMLS_CC, E_WARNING, "unable to convert posix group struct to array"); RETURN_FALSE; } } @@ -833,8 +831,7 @@ PHP_FUNCTION(posix_getpwnam) array_init(return_value); if (!php_posix_passwd_to_array(pw, return_value)) { - php_error(E_WARNING, "%s() unable to convert posix passwd struct to array", - get_active_function_name(TSRMLS_C)); + php_error_docref(NULL TSRMLS_CC, E_WARNING, "unable to convert posix passwd struct to array"); RETURN_FALSE; } @@ -859,8 +856,7 @@ PHP_FUNCTION(posix_getpwuid) array_init(return_value); if (!php_posix_passwd_to_array(pw, return_value)) { - php_error(E_WARNING, "%s() unable to convert posix passwd struct to array", - get_active_function_name(TSRMLS_C)); + php_error_docref(NULL TSRMLS_CC, E_WARNING, "unable to convert posix passwd struct to array"); RETURN_FALSE; } } |