Re: PHP 4.0 Bug #8836: memory fault after sybase_connect

From: Date: Fri, 11 May 2001 17:35:33 +0000
Subject: Re: PHP 4.0 Bug #8836: memory fault after sybase_connect
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-54889@lists.php.net to get a copy of this message
I have tested this fix and it works great. Please include it on release 4.0.6, sybase_ct get fixed. Thanks. fabien@usa.net wrote: > From: fabien@usa.net > Operating system: Win32 > PHP version: 4.0.4pl1 > PHP Bug Type: Sybase-ct (ctlib) related > Bug description: memory fault after sybase_connect > > memory fault after sybase_connect > > in order to connect to sybase server with PHP4 and Sybase openclient 11.1.1, you need to change > some lines in php_sybase_ct.c > > all sybase message handler must be declared with CS_PUBLIC : > > CS_RETCODE CS_PUBLIC _client_message_handler(CS_CONTEXT *context, CS_CONNECTION *connection, > CS_CLIENTMSG *errmsg) > > and > > CS_RETCODE CS_PUBLIC _server_message_handler(CS_CONTEXT *context, CS_CONNECTION *connection, > CS_SERVERMSG *srvmsg) > > please change these lines. > thanks > > -- > Edit Bug report at: http://bugs.php.net/?id=8836&edit=1 > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net > For additional commands, e-mail: php-dev-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.dev (#54889) next »