|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2008-03-17 14:11 UTC] mikael at synd dot info
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Dec 14 10:00:01 2025 UTC |
Description: ------------ Stupid CodeWarrior compiler which we use to compile for NetWare platform doesnt handle line 1031 of memcache.c: zval **params[5] = {&host, &tcp_port, &udp_port, &error, &errnum}; it seems that the compiler is too stupid to take vars here, and breaks compilation. Can you perhaps use single assignment as before? --- memcache.c.orig Tue Feb 05 20:46:52 2008 +++ memcache.c Sat Mar 08 15:59:22 2008 @@ -1028,7 +1028,13 @@ if (mmc->failure_callback != NULL) { zval *retval = NULL; zval *host, *tcp_port, *udp_port, *error, *errnum; - zval **params[5] = {&host, &tcp_port, &udp_port, &error, &errnum}; + zval **params[5]; + + params[0] = &host; + params[1] = &tcp_port; + params[2] = &udp_port; + params[3] = &error; + params[4] = &errnum; MAKE_STD_ZVAL(host); MAKE_STD_ZVAL(tcp_port); MAKE_STD_ZVAL(udp_port); thanks, G?nter.