cvs: php-src /main main.c

From: Date: Thu, 09 Mar 2006 20:31:58 +0000
Subject: cvs: php-src /main main.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-37206@lists.php.net to get a copy of this message
pollita Thu Mar 9 20:31:58 2006 UTC Modified files: /php-src/main main.c Log: Move temporary local storage of primary file's realpath up one block to ensure it stays on the stack. http://cvs.php.net/viewcvs.cgi/php-src/main/main.c?r1=1.670&r2=1.671&diff_format=u Index: php-src/main/main.c diff -u php-src/main/main.c:1.670 php-src/main/main.c:1.671 --- php-src/main/main.c:1.670 Wed Mar 8 14:41:45 2006 +++ php-src/main/main.c Thu Mar 9 20:31:58 2006 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: main.c,v 1.670 2006/03/08 14:41:45 iliaa Exp $ */ +/* $Id: main.c,v 1.671 2006/03/09 20:31:58 pollita Exp $ */ /* {{{ includes */ @@ -1767,6 +1767,8 @@ #endif zend_try { + char realfile[MAXPATHLEN]; + #ifdef PHP_WIN32 UpdateIniFromRegistry(primary_file->filename TSRMLS_CC); #endif @@ -1785,7 +1787,6 @@ } if (primary_file->filename) { - char realfile[MAXPATHLEN]; int realfile_len; int dummy = 1; if (VCWD_REALPATH(primary_file->filename, realfile)) {

« previous php.cvs (#37206) next »