]> granicus.if.org Git - php/commitdiff
Hardcode the readdir entry as well
authorSascha Schumann <sas@php.net>
Thu, 7 Dec 2000 15:33:30 +0000 (15:33 +0000)
committerSascha Schumann <sas@php.net>
Thu, 7 Dec 2000 15:33:30 +0000 (15:33 +0000)
ext/standard/basic_functions.c

index 4fec4ed7bbd33c43d4e5fb1b7c4d78360851d09b..5490c5a7822ea49b04358c117d3f3a8a4be5fada 100644 (file)
@@ -452,7 +452,7 @@ function_entry basic_functions[] = {
        PHP_FE(chdir,                           NULL)
        PHP_FE(getcwd,                          NULL)
        PHP_FE(rewinddir,                       NULL)
-       PHP_FE(readdir,                         NULL)
+       PHP_STATIC_FE("readdir", php_if_readdir, NULL)
        PHP_FALIAS(dir,         getdir, NULL)
 
        /* functions from filestat.c */