#50791 [Opn->Asn]: simulation of cookie_io_functions

From: Date: Tue, 19 Jan 2010 12:09:41 +0000
Subject: #50791 [Opn->Asn]: simulation of cookie_io_functions
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-146792@lists.php.net to get a copy of this message
ID: 50791 Updated by: jani@php.net Reported By: martin dot eisengardt at fiducia dot de -Status: Open +Status: Assigned Bug Type: Compile Failure Operating System: Win64-Cygwin PHP Version: 5.3.1 -Assigned To: +Assigned To: jani Previous Comments: ------------------------------------------------------------------------ [2010-01-18 12:57:51] martin dot eisengardt at fiducia dot de Description: ------------ main/streams/cast.c line 32 The comment says "Under BSD, emulate fopencookie using funopen" However under my gcywin both compiler options are set: HAVE_FUNOPEN and HAVE_FOPENCOOKIE. Of course compilation failes because of duplicate definitions. Changing the preprocessor directive in line 33 solves the problem for me: - #if HAVE_FUNOPEN + #if HAVE_FUNOPEN && !HAVE_FOPENCOOKIE It compiles fine now and my scripts were successful. I did no "make test" to verify the change. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=50791&edit=1

« previous php.bugs (#146792) next »