cvs: php-src /main main.c
| From: | Dmitry Stogov | Date: | Tue, 21 Mar 2006 08:49:58 +0000 |
| Subject: | cvs: php-src /main main.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-37389@lists.php.net to get a copy of this message | ||
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);
}
}