Search
j0ke.net Open Build Service
>
Projects
>
internetx
:
php5
:
EL5
>
php-sqlite2
> SQLite-arg3.patch
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File SQLite-arg3.patch of Package php-sqlite2 (Revision 4)
Currently displaying revision
4
,
show latest
--- sqlite.c.orig 2011-02-02 10:33:14.491112977 +0100 +++ sqlite.c 2011-02-02 10:34:15.222859300 +0100 @@ -53,7 +53,7 @@ extern int sqlite_encode_binary(const unsigned char *in, int n, unsigned char *out); extern int sqlite_decode_binary(const unsigned char *in, unsigned char *out); -static unsigned char arg3_force_ref[] = {3, BYREF_NONE, BYREF_NONE, BYREF_FORCE }; +/* static unsigned char arg3_force_ref[] = {3, BYREF_NONE, BYREF_NONE, BYREF_FORCE }; */ static int le_sqlite_db, le_sqlite_result, le_sqlite_pdb; @@ -122,8 +122,8 @@ enum { PHPSQLITE_ASSOC = 1, PHPSQLITE_NUM = 2, PHPSQLITE_BOTH = PHPSQLITE_ASSOC|PHPSQLITE_NUM }; function_entry sqlite_functions[] = { - PHP_FE(sqlite_open, arg3_force_ref) - PHP_FE(sqlite_popen, arg3_force_ref) + PHP_FE(sqlite_open, third_arg_force_ref) + PHP_FE(sqlite_popen, third_arg_force_ref) PHP_FE(sqlite_close, NULL) PHP_FE(sqlite_query, NULL) PHP_FE(sqlite_exec, NULL)