|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2004-01-30 02:04 UTC] cjbj at hotmail dot com
Description: ------------ The casts to "(dword *)" in OCICollAppend() and OCICollAssignElem() calls in oci8.c should be changed to "(dvoid *)" to match the prototypes. Without this correction the file will fail to compile in Oracle 10g: the very obsolete dword no longer appears to be defined in oratypes.h. Actual result: -------------- Without this fix, compiling php4-STABLE-200401300430 with --enable-oci8 gives: /home/cjbj/php/ext/oci8/oci8.c:4833: `dword' undeclared (first use in this function) PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 23 09:00:02 2025 UTC |
Diff -cw gives: *** oci8.c.orig 2004-01-27 01:08:29.000000000 +1100 --- oci8.c 2004-02-02 11:24:46.000000000 +1100 *************** *** 4833,4839 **** CALL_OCI_RETURN(connection->error, OCICollAppend( connection->session->pEnv, connection->pError, ! (dword *)0, &null_ind, coll->coll)); if (connection->error) { --- 4833,4839 ---- CALL_OCI_RETURN(connection->error, OCICollAppend( connection->session->pEnv, connection->pError, ! (dvoid *)0, &null_ind, coll->coll)); if (connection->error) { *************** *** 5139,5145 **** connection->session->pEnv, connection->pError, ndx, ! (dword *)0, &null_ind, coll->coll)); if (connection->error) { --- 5139,5145 ---- connection->session->pEnv, connection->pError, ndx, ! (dvoid *)0, &null_ind, coll->coll)); if (connection->error) { *************** *** 5172,5178 **** connection->session->pEnv, connection->pError, ndx, ! (dword *)&dt, &new_ind, coll->coll)); --- 5172,5178 ---- connection->session->pEnv, connection->pError, ndx, ! (dvoid *)&dt, &new_ind, coll->coll)); *************** *** 5200,5206 **** connection->session->pEnv, connection->pError, ndx, ! (dword *)ocistr, &new_ind, coll->coll)); --- 5200,5206 ---- connection->session->pEnv, connection->pError, ndx, ! (dvoid *)ocistr, &new_ind, coll->coll)); *************** *** 5239,5245 **** connection->session->pEnv, connection->pError, ndx, ! (dword *)&num, &new_ind, coll->coll)); --- 5239,5245 ---- connection->session->pEnv, connection->pError, ndx, ! (dvoid *)&num, &new_ind, coll->coll));