]> granicus.if.org Git - php/commitdiff
- cleanup & correct msg
authorPierre Joye <pajoye@php.net>
Sat, 30 Jan 2010 20:21:16 +0000 (20:21 +0000)
committerPierre Joye <pajoye@php.net>
Sat, 30 Jan 2010 20:21:16 +0000 (20:21 +0000)
ext/standard/tests/file/windows_acls/common.inc

index 6bcaf2b3271dd9083930f6264bc46b8ad3b94aad..c4276014af7b7d461215d47bf2aef36ae3a116b3 100644 (file)
@@ -118,12 +118,11 @@ function create_dir($name, $perms) {
 
 function create_file($name, $perms) {
        if (empty($name)) {
-               echo "create_dir: Empty name is not allowed\n";
+               echo "create_file: Empty name is not allowed\n";
                return;
        }
 
        touch($name);
-       $dst = realpath($name);
        icacls_set($name, PHPT_ACL_GRANT, $perms);
 }