#46782 [Ver->Csd]: fastcgi.c parse error
| From: | mattwil@php.net | Date: | Sun, 07 Dec 2008 10:58:09 +0000 |
| Subject: | #46782 [Ver->Csd]: fastcgi.c parse error | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-131712@lists.php.net to get a copy of this message | ||
ID: 46782
Updated by: mattwil@php.net
Reported By: whatloveis at hanmail dot net
-Status: Verified
+Status: Closed
Bug Type: Compile Failure
Operating System: Linux
PHP Version: 5.2.7
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2008-12-06 15:06:27] mattwil@php.net
Caused by changes for Bug #45522
------------------------------------------------------------------------
[2008-12-06 12:46:40] whatloveis at hanmail dot net
Description:
------------
When I compile with FastCGI support, it gives a parse error.
I think lines 226-236 in `sapi/cgi/fastcgi.c' should be placed in a
block.
Reproduce code:
---------------
'./configure' \
--disable-spl \
--disable-pdo \
--disable-xmlreader \
--disable-xmlwriter \
--disable-hash \
--without-sqlite \
--with-mysql=/usr/local/mysql \
--enable-mbstring \
--with-zlib \
--with-gd \
--with-freetype-dir \
--enable-fastcgi
make
Actual result:
--------------
sapi/cgi/fastcgi.c: In function `fcgi_init':
sapi/cgi/fastcgi.c:226: parse error before `sa'
sapi/cgi/fastcgi.c:231: `sa' undeclared (first use in this function)
sapi/cgi/fastcgi.c:231: (Each undeclared identifier is reported only
once
sapi/cgi/fastcgi.c:231: for each function it appears in.)
sapi/cgi/fastcgi.c:231: `len' undeclared (first use in this function)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=46782&edit=1