cvs: php4 /main fopen_wrappers.c

From: Date: Sun, 01 Dec 2002 21:28:28 +0000
Subject: cvs: php4 /main fopen_wrappers.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-16812@lists.php.net to get a copy of this message
shane Sun Dec 1 16:28:28 2002 EDT Modified files: /php4/main fopen_wrappers.c Log: php_error_docref aborts cgi. This broke using php as cgi under apache/mod_cgi with the cgi-script directive and bang lines in php scripts. removing it allows this to work again. Index: php4/main/fopen_wrappers.c diff -u php4/main/fopen_wrappers.c:1.153 php4/main/fopen_wrappers.c:1.154 --- php4/main/fopen_wrappers.c:1.153 Fri Nov 8 17:48:01 2002 +++ php4/main/fopen_wrappers.c Sun Dec 1 16:28:27 2002 @@ -16,7 +16,7 @@ | Jim Winstead <jimw@php.net> | +----------------------------------------------------------------------+ */ -/* $Id: fopen_wrappers.c,v 1.153 2002/11/08 22:48:01 iliaa Exp $ */ +/* $Id: fopen_wrappers.c,v 1.154 2002/12/01 21:28:27 shane 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; }

« previous php.cvs (#16812) next »