cvs: php4(PHP_4_3_1) /main fopen_wrappers.c
| From: | Jani Taskinen | Date: | Sat, 15 Feb 2003 22:51:43 +0000 |
| Subject: | cvs: php4(PHP_4_3_1) /main fopen_wrappers.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-18872@lists.php.net to get a copy of this message | ||
sniper Sat Feb 15 17:51:43 2003 EDT
Modified files: (Branch: PHP_4_3_1)
/php4/main fopen_wrappers.c
Log:
Revert this.
Index: php4/main/fopen_wrappers.c
diff -u php4/main/fopen_wrappers.c:1.153.2.1 php4/main/fopen_wrappers.c:1.153.2.1.4.1
--- php4/main/fopen_wrappers.c:1.153.2.1 Sun Dec 1 18:23:48 2002
+++ php4/main/fopen_wrappers.c Sat Feb 15 17:51:43 2003
@@ -16,7 +16,7 @@
| Jim Winstead <jimw@php.net> |
+----------------------------------------------------------------------+
*/
-/* $Id: fopen_wrappers.c,v 1.153.2.1 2002/12/01 23:23:48 shane Exp $ */
+/* $Id: fopen_wrappers.c,v 1.153.2.1.4.1 2003/02/15 22:51:43 sniper Exp $ */
/* {{{ includes
*/
@@ -348,8 +348,8 @@
fp = NULL;
}
if (!fp) {
+ php_error_docref(NULL TSRMLS_CC, E_ERROR, "Unable to open %s", filename);
STR_FREE(SG(request_info).path_translated); /* for same reason as above */
- SG(request_info).path_translated = NULL;
return FAILURE;
}