CVS update: php31/main
| From: | shane | Date: | Fri, 21 Aug 1998 00:30:44 +0000 |
| Subject: | CVS update: php31/main | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-378@lists.php.net to get a copy of this message | ||
Date: Thursday August 20, 1998 @ 20:30
Author: shane
Update of /repository/php31/main
In directory asf:/tmp/cvs-serv18374/main
Modified Files:
alloc.c
Log Message:
Ok, cgi works on iis and apache NT. SCRIPT_FILENAME is a bad thing on NT,
at least until apache group fixes it.
Index: php31/main/alloc.c
diff -c php31/main/alloc.c:2.2 php31/main/alloc.c:2.3
*** php31/main/alloc.c:2.2 Thu Aug 20 20:15:28 1998
--- php31/main/alloc.c Thu Aug 20 20:30:44 1998
***************
*** 377,386 ****
void memory_manager_status(unsigned char verbose)
{
! mem_header *p = GLOBAL(head);
uint total_memory=0, small_blocks=0, large_blocks=0;
int i;
while (p) {
if (verbose) {
#if DEBUG
--- 377,388 ----
void memory_manager_status(unsigned char verbose)
{
! mem_header *p;
uint total_memory=0, small_blocks=0, large_blocks=0;
int i;
+ TLS_VARS;
+ p=GLOBAL(head);
while (p) {
if (verbose) {
#if DEBUG
***************
*** 405,412 ****
php3_printf("<br><br>\n\n");
php3_printf("Cache status:<br>\n");
for (i=0; i<MAX_CACHED_MEMORY; i++) {
! if (cache_count[i]>0) {
! php3_printf("%d bytes: %d blocks\n", i, cache_count[i]);
}
}
php3_printf("<br><br>\n\n");
--- 407,414 ----
php3_printf("<br><br>\n\n");
php3_printf("Cache status:<br>\n");
for (i=0; i<MAX_CACHED_MEMORY; i++) {
! if (GLOBAL(cache_count)[i]>0) {
! php3_printf("%d bytes: %d blocks\n", i, GLOBAL(cache_count)[i]);
}
}
php3_printf("<br><br>\n\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