dmitry Tue Mar 21 08:49:58 2006 UTC Modified files: /php-src/main main.c Log: Fixed bug #36809 (__FILE__ behavior changed) http://cvs.php.net/viewcvs.cgi/php-src/main/main.c?r1=1.679&r2=1.680&diff_format=u Index: php-src/main/main.c diff -u php-src/main/main.c:1.679 php-src/main/main.c:1.680 --- php-src/main/main.c:1.679 Fri Mar 17 13:45:43 2006 +++ php-src/main/main.c Tue Mar 21 08:49:58 2006 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: main.c,v 1.679 2006/03/17 13:45:43 dmitry Exp $ */ +/* $Id: main.c,v 1.680 2006/03/21 08:49:58 dmitry Exp $ */ /* {{{ includes */ @@ -1831,6 +1831,7 @@ if (VCWD_REALPATH(primary_file->filename, realfile)) { realfile_len = strlen(realfile); zend_hash_add(&EG(included_files), realfile, realfile_len+1, (void *)&dummy, sizeof(int), NULL); + primary_file->opened_path = estrndup(realfile, realfile_len); } }
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php