summaryrefslogtreecommitdiff
path: root/ext/standard/link.c
diff options
context:
space:
mode:
authorAndi Gutmans <andi@php.net>2000-05-23 14:36:27 +0000
committerAndi Gutmans <andi@php.net>2000-05-23 14:36:27 +0000
commit521f03c184fad08cc6943decd53df29f4a3ed830 (patch)
tree5e8f40e3843a91dc461b2e329d67ede4ac12252e /ext/standard/link.c
parent0eb51100b77996efbf0a728efe55ded996814025 (diff)
downloadphp-git-521f03c184fad08cc6943decd53df29f4a3ed830.tar.gz
- Support virtual unlink()
Diffstat (limited to 'ext/standard/link.c')
-rw-r--r--ext/standard/link.c2
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;