diff options
Diffstat (limited to 'www/mod_php3/files/patch-ar')
-rw-r--r-- | www/mod_php3/files/patch-ar | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/www/mod_php3/files/patch-ar b/www/mod_php3/files/patch-ar new file mode 100644 index 000000000000..7019b3282c9d --- /dev/null +++ b/www/mod_php3/files/patch-ar @@ -0,0 +1,29 @@ +--- ../php/functions/sybase.c.orig Tue Feb 8 00:54:51 2000 ++++ ../php/functions/sybase.c Tue Feb 29 22:01:07 2000 +@@ -366,7 +366,7 @@ + RETURN_FALSE; + } + /* create the link */ +- if ((sybase.link=dbopen(sybase.login,host))==FAIL) { ++ if ((sybase.link=tdsdbopen(sybase.login,host))==FAIL) { + /*php3_error(E_WARNING,"Sybase: Unable to connect to server: %s",sybase_error(sybase));*/ + efree(hashed_details); + dbloginfree(sybase.login); +@@ -408,7 +408,7 @@ + #if BROKEN_SYBASE_PCONNECTS + log_error("PHP/Sybase: Persistent link died, trying to reconnect...",php3_rqst->server); + #endif +- if ((sybase_ptr->link=dbopen(sybase_ptr->login,host))==FAIL) { ++ if ((sybase_ptr->link=tdsdbopen(sybase_ptr->login,host))==FAIL) { + #if BROKEN_SYBASE_PCONNECTS + log_error("PHP/Sybase: Unable to reconnect!",php3_rqst->server); + #endif +@@ -464,7 +464,7 @@ + RETURN_FALSE; + } + +- if ((sybase.link=dbopen(sybase.login,host))==NULL) { ++ if ((sybase.link=tdsdbopen(sybase.login,host))==NULL) { + /*php3_error(E_WARNING,"Sybase: Unable to connect to server: %s",sybase_error(sybase));*/ + efree(hashed_details); + RETURN_FALSE; |