CVS update: php3/functions

From: Date: Sun, 16 May 1999 11:56:54 +0000
Subject: CVS update: php3/functions
Groups: php.dev 
Request: Send a blank email to php-dev+get-5670@lists.php.net to get a copy of this message
Date: Sunday May 16, 1999 @ 7:56 Author: sas Update of /repository/php3/functions In directory php:/tmp/cvs-serv19139/functions Modified Files: global.h php_mcrypt.h Log Message: fix another 64-bit issue. this affected at least md5 which produced wrong values on 64-bit platforms Index: php3/functions/global.h diff -u php3/functions/global.h:1.12 php3/functions/global.h:1.13 --- php3/functions/global.h:1.12 Fri Jan 1 12:59:10 1999 +++ php3/functions/global.h Sun May 16 07:56:54 1999 @@ -26,7 +26,7 @@ | Authors: Rasmus Lerdorf <rasmus@lerdorf.on.ca> | +----------------------------------------------------------------------+ */ -/* $Id: global.h,v 1.12 1999/01/01 17:59:10 zeev Exp $ +/* $Id: global.h,v 1.13 1999/05/16 11:56:54 sas Exp $ RSAREF types and constants */ @@ -46,7 +46,11 @@ typedef unsigned short int UINT2; /* UINT4 defines a four byte word */ -typedef unsigned long int UINT4; +#if SIZEOF_INT == 4 +typedef unsigned int UINT4; +#elif SIZEOF_LONG == 4 +typedef unsigned long UINT4; +#endif /* PROTO_LIST is defined depending on how PROTOTYPES is defined above. If using PROTOTYPES, then PROTO_LIST returns the list, otherwise it Index: php3/functions/php_mcrypt.h diff -u php3/functions/php_mcrypt.h:1.3 php3/functions/php_mcrypt.h:1.4 --- php3/functions/php_mcrypt.h:1.3 Sat May 1 08:28:38 1999 +++ php3/functions/php_mcrypt.h Sun May 16 07:56:54 1999 @@ -25,4 +25,6 @@ #define mcrypt_module_ptr NULL #endif +#define phpext_mcrypt_ptr mcrypt_module_ptr + #endif -- 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

« previous php.dev (#5670) next »