scottmac                Wed Jan 28 15:53:29 2009 UTC

  Modified files:              (Branch: PHP_5_3)
    /php-src    NEWS 
    /php-src/ext/phar   config.m4 
  Log:
  Disable Phar on big endian systems for beta 1.
  
http://cvs.php.net/viewvc.cgi/php-src/NEWS?r1=1.2027.2.547.2.965.2.475&r2=1.2027.2.547.2.965.2.476&diff_format=u
Index: php-src/NEWS
diff -u php-src/NEWS:1.2027.2.547.2.965.2.475 
php-src/NEWS:1.2027.2.547.2.965.2.476
--- php-src/NEWS:1.2027.2.547.2.965.2.475       Mon Jan 26 22:34:16 2009
+++ php-src/NEWS        Wed Jan 28 15:53:28 2009
@@ -6,6 +6,8 @@
 - Deprecated session_register(), session_unregister() and
   session_is_registered(). (Hannes)
 
+- Disabled Phar for big endian systems due to various crash bugs. (Scott)
+
 - Improved DNS API
  . Added Windows support for dns_check_record(), dns_get_mx(), checkdnsrr() and
    getmxrr(). (Pierre)
http://cvs.php.net/viewvc.cgi/php-src/ext/phar/config.m4?r1=1.27.2.8&r2=1.27.2.9&diff_format=u
Index: php-src/ext/phar/config.m4
diff -u php-src/ext/phar/config.m4:1.27.2.8 php-src/ext/phar/config.m4:1.27.2.9
--- php-src/ext/phar/config.m4:1.27.2.8 Tue Nov  4 01:27:52 2008
+++ php-src/ext/phar/config.m4  Wed Jan 28 15:53:29 2009
@@ -1,10 +1,14 @@
-dnl $Id: config.m4,v 1.27.2.8 2008/11/04 01:27:52 helly Exp $
+dnl $Id: config.m4,v 1.27.2.9 2009/01/28 15:53:29 scottmac Exp $
 dnl config.m4 for extension phar
 
 PHP_ARG_ENABLE(phar, for phar archive support,
 [  --disable-phar          Disable phar support], yes)
 
 if test "$PHP_PHAR" != "no"; then
+  PHP_C_BIGENDIAN
+  if test $ac_cv_c_bigendian_php = yes; then
+    AC_MSG_WARN([Disabling Phar due to crash bugs on big endian systems])
+  else
   PHP_NEW_EXTENSION(phar, util.c tar.c zip.c stream.c func_interceptors.c 
dirstream.c phar.c phar_object.c phar_path_check.c, $ext_shared)
   AC_MSG_CHECKING([for phar openssl support])
   if test "$PHP_HASH_SHARED" != "yes"; then
@@ -27,4 +31,5 @@
   PHP_ADD_EXTENSION_DEP(phar, hash, true)
   PHP_ADD_EXTENSION_DEP(phar, spl, true)
   PHP_ADD_MAKEFILE_FRAGMENT
+  fi
 fi



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

Reply via email to