CVS update: php31/ext/standard
| From: | cschneid | Date: | Thu, 05 Nov 1998 15:21:42 +0000 |
| Subject: | CVS update: php31/ext/standard | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-2222@lists.php.net to get a copy of this message | ||
Date: Thursday November 5, 1998 @ 10:21
Author: cschneid
Update of /repository/php31/ext/standard
In directory asf:/u2/tmp/cvs-serv23352/ext/standard
Modified Files:
basic_functions.c info.c
Log Message:
Fixed various configuration and header files to build php31 with mysql and
zlib support on unix/cc.
Index: php31/ext/standard/basic_functions.c
diff -c php31/ext/standard/basic_functions.c:2.20 php31/ext/standard/basic_functions.c:2.21
*** php31/ext/standard/basic_functions.c:2.20 Sat Oct 17 16:45:42 1998
--- php31/ext/standard/basic_functions.c Thu Nov 5 10:21:41 1998
***************
*** 827,833 ****
Bucket *f;
Bucket *s;
pval key1, key2;
! pval *args[2] = {&key1, &key2};
pval retval;
int status;
/* FIXME: This will make this sort VERY slow, need to do something
--- 827,833 ----
Bucket *f;
Bucket *s;
pval key1, key2;
! pval *args[2];
pval retval;
int status;
/* FIXME: This will make this sort VERY slow, need to do something
***************
*** 835,840 ****
--- 835,843 ----
* this function. Can we pass the address of php3_globals into this?
*/
TLS_VARS;
+
+ args[0] = &key1;
+ args[1] = &key2;
f = *((Bucket **) a);
s = *((Bucket **) b);
Index: php31/ext/standard/info.c
diff -c php31/ext/standard/info.c:2.7 php31/ext/standard/info.c:2.8
*** php31/ext/standard/info.c:2.7 Mon Sep 21 07:23:02 1998
--- php31/ext/standard/info.c Thu Nov 5 10:21:41 1998
***************
*** 114,121 ****
PUTS("<table border=5 width=\"600\">\n");
PUTS("<tr><th bgcolor=\"" HEADER_COLOR
"\">Extensions</th><th bgcolor=\"" HEADER_COLOR
"\">Additional Information</th></tr>\n");
! // PUTS("<tr><th bgcolor=\"" ENTRY_NAME_COLOR "\">Server
Interface</th>\n");
! // php3_printf("<td bgcolor=\"" CONTENTS_COLOR
"\"><tt>%s</td></tr>\n",GLOBAL(sapi_rqst)->server_string);
PUTS("<tr><th bgcolor=\"" ENTRY_NAME_COLOR "\">PHP
core</th>\n");
PUTS("<td bgcolor=\"" CONTENTS_COLOR "\"><tt>CFLAGS="
PHP_CFLAGS "<br>\n");
--- 114,123 ----
PUTS("<table border=5 width=\"600\">\n");
PUTS("<tr><th bgcolor=\"" HEADER_COLOR
"\">Extensions</th><th bgcolor=\"" HEADER_COLOR
"\">Additional Information</th></tr>\n");
! #if 0
! PUTS("<tr><th bgcolor=\"" ENTRY_NAME_COLOR "\">Server
Interface</th>\n");
! php3_printf("<td bgcolor=\"" CONTENTS_COLOR
"\"><tt>%s</td></tr>\n",GLOBAL(sapi_rqst)->server_string);
! #endif
PUTS("<tr><th bgcolor=\"" ENTRY_NAME_COLOR "\">PHP
core</th>\n");
PUTS("<td bgcolor=\"" CONTENTS_COLOR "\"><tt>CFLAGS="
PHP_CFLAGS "<br>\n");
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net