cvs: php4(PHP_4_3) /ext/standard/tests/file fopencookie.phpt
| From: | Shane Caraveo | Date: | Mon, 10 Mar 2003 00:14:11 +0000 |
| Subject: | cvs: php4(PHP_4_3) /ext/standard/tests/file fopencookie.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-19473@lists.php.net to get a copy of this message | ||
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()
+ {
+ }
}