]> granicus.if.org Git - php/commitdiff
- removed commented code
authorPierre Joye <pajoye@php.net>
Mon, 11 Aug 2008 13:14:01 +0000 (13:14 +0000)
committerPierre Joye <pajoye@php.net>
Mon, 11 Aug 2008 13:14:01 +0000 (13:14 +0000)
ext/standard/file.c

index 82e18dd7e75584ea8f0b4b2a4d23d69fc1f18ea5..c6c628bce0299d1462fc7f4093380b4ff31ee628 100644 (file)
@@ -1907,11 +1907,6 @@ PHPAPI int php_copy_file_ex(char *src, char *dest, int src_chk TSRMLS_DC)
                php_error_docref(NULL TSRMLS_CC, E_WARNING, "The second argument to copy() function cannot be a directory");
                return FAILURE;
        }
-       /*
-       if (php_stream_stat_path_ex(dest, PHP_STREAM_URL_STAT_QUIET, &dest_s, NULL) != 0) {
-               goto safe_to_copy;
-       }
-*/
        if (!src_s.sb.st_ino || !dest_s.sb.st_ino) {
                goto no_stat;
        }