iliaa           Wed Apr 15 14:25:06 2009 UTC

  Modified files:              (Branch: PHP_5_2)
    /php-src/ext/standard       mail.c 
    /php-src    NEWS 
  Log:
  
  MFB: Fixed bug #47969 (ezmlm_hash() returns different values depend on OS)
  
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/mail.c?r1=1.87.2.1.2.11&r2=1.87.2.1.2.12&diff_format=u
Index: php-src/ext/standard/mail.c
diff -u php-src/ext/standard/mail.c:1.87.2.1.2.11 
php-src/ext/standard/mail.c:1.87.2.1.2.12
--- php-src/ext/standard/mail.c:1.87.2.1.2.11   Wed Dec 31 11:17:45 2008
+++ php-src/ext/standard/mail.c Wed Apr 15 14:25:06 2009
@@ -16,7 +16,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: mail.c,v 1.87.2.1.2.11 2008/12/31 11:17:45 sebastian Exp $ */
+/* $Id: mail.c,v 1.87.2.1.2.12 2009/04/15 14:25:06 iliaa Exp $ */
 
 #include <stdlib.h>
 #include <ctype.h>
@@ -73,7 +73,7 @@
 PHP_FUNCTION(ezmlm_hash)
 {
        char *str = NULL;
-       unsigned long h = 5381L;
+       unsigned int h = 5381;
        int j, str_len;
        
        if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s",
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.1469&r2=1.2027.2.547.2.1470&diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.1469 php-src/NEWS:1.2027.2.547.2.1470
--- php-src/NEWS:1.2027.2.547.2.1469    Tue Apr 14 14:18:49 2009
+++ php-src/NEWS        Wed Apr 15 14:25:06 2009
@@ -10,6 +10,8 @@
 - Fixed memory leak in ob_get_clean/ob_get_flush. (Christian)
 - Fixed segfault on invalid session.save_path. (Hannes)
 
+- Fixed bug #47969 (ezmlm_hash() returns different values depend on OS).
+  (Ilia)
 - Fixed bug #47946 (ImageConvolution overwrites background). (Ilia)
 - Fixed bug #47903 ("@" operator does not work with string offsets). (Felipe)
 - Fixed bug #47893 (CLI aborts on non blocking stdout). (Arnaud)



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to