shane           Sun Mar  9 19:14:11 2003 EDT

  Modified files:              (Branch: PHP_4_3)
    /php4/ext/standard/tests/file       fopencookie.phpt 
  Log:
  make test happy by adding missing functions to avoid warnings, taken from 
user_stream.c
  
Index: php4/ext/standard/tests/file/fopencookie.phpt
diff -u php4/ext/standard/tests/file/fopencookie.phpt:1.1.2.2 
php4/ext/standard/tests/file/fopencookie.phpt:1.1.2.3
--- php4/ext/standard/tests/file/fopencookie.phpt:1.1.2.2       Thu Nov 14 09:25:36 
2002
+++ php4/ext/standard/tests/file/fopencookie.phpt       Sun Mar  9 19:14:11 2003
@@ -74,6 +74,48 @@
                                return false;
                }
        }
+       
+       function stream_write($data)
+       {
+           return false;
+       }
+       
+       function stream_close()
+       {
+       }
+       
+       function stream_flush()
+       {
+           return false;
+       }
+       
+       function stream_stat()
+       {
+           return NULL;
+       }
+
+       function url_stat($url)
+       {
+           return NULL;
+       }
+
+       function dir_opendir($url, $options)
+       {
+           return false;
+       }
+
+       function dir_readdir()
+       {
+           return NULL;
+       }
+
+       function dir_closedir()
+       {
+       }
+
+       function dir_rewinddir()
+       {
+       }
 
 }
 



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to