Date: 02/28/99
- Next message: rasmus: "[PHP-DEV] CVS update: php3"
- Previous message: nb <email protected>: "[PHP-DEV] Bug #1190: MySQL Connection Failed: Can't create IP socket (10036)"
- Next in thread: sas <email protected>: "Re: [PHP-DEV] CVS update: php3"
- Reply: sas <email protected>: "Re: [PHP-DEV] CVS update: php3"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sunday February 28, 1999 @ 11:53
Author: rasmus
Update of /repository/php3
In directory asf:/u/temp/cvs-serv15373
Modified Files:
alloc.c
Log Message:
sizeof() returns an int, doesn't it?
Index: php3/alloc.c
diff -c php3/alloc.c:1.80 php3/alloc.c:1.81
*** php3/alloc.c:1.80 Sat Feb 27 11:38:56 1999
--- php3/alloc.c Sun Feb 28 11:53:06 1999
***************
*** 463,469 ****
*((long *)(((char *) p) + sizeof(mem_header)+p->size+PLATFORM_PADDING+END_ALIGNMENT(p->size))), MEM_BLOCK_END_MAGIC);
fprintf(stderr,"%10s\t","");
if (overflows>=sizeof(long)) {
! fprintf(stderr, "At least %ld bytes overflown\n", sizeof(long));
} else {
fprintf(stderr, "%d byte(s) overflown\n", overflows);
}
--- 463,469 ----
*((long *)(((char *) p) + sizeof(mem_header)+p->size+PLATFORM_PADDING+END_ALIGNMENT(p->size))), MEM_BLOCK_END_MAGIC);
fprintf(stderr,"%10s\t","");
if (overflows>=sizeof(long)) {
! fprintf(stderr, "At least %d bytes overflown\n", sizeof(long));
} else {
fprintf(stderr, "%d byte(s) overflown\n", overflows);
}
-- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe <email protected> For help: php-dev-help <email protected>
- Next message: rasmus: "[PHP-DEV] CVS update: php3"
- Previous message: nb <email protected>: "[PHP-DEV] Bug #1190: MySQL Connection Failed: Can't create IP socket (10036)"
- Next in thread: sas <email protected>: "Re: [PHP-DEV] CVS update: php3"
- Reply: sas <email protected>: "Re: [PHP-DEV] CVS update: php3"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

