diff options
author | Andi Gutmans <andi@php.net> | 2000-05-23 14:36:27 +0000 |
---|---|---|
committer | Andi Gutmans <andi@php.net> | 2000-05-23 14:36:27 +0000 |
commit | 521f03c184fad08cc6943decd53df29f4a3ed830 (patch) | |
tree | 5e8f40e3843a91dc461b2e329d67ede4ac12252e /ext/standard/link.c | |
parent | 0eb51100b77996efbf0a728efe55ded996814025 (diff) | |
download | php-git-521f03c184fad08cc6943decd53df29f4a3ed830.tar.gz |
- Support virtual unlink()
Diffstat (limited to 'ext/standard/link.c')
-rw-r--r-- | ext/standard/link.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/link.c b/ext/standard/link.c index ffe14235ef..2fb126afa3 100644 --- a/ext/standard/link.c +++ b/ext/standard/link.c @@ -181,7 +181,7 @@ PHP_FUNCTION(unlink) RETURN_FALSE; } - ret = unlink((*filename)->value.str.val); + ret = V_UNLINK((*filename)->value.str.val); if (ret == -1) { php_error(E_WARNING, "Unlink failed (%s)", strerror(errno)); RETURN_FALSE; |