]> granicus.if.org Git - php/commitdiff
Merge branch 'PHP-5.4'
authorGustavo Lopes <glopes@nebm.ist.utl.pt>
Wed, 22 Aug 2012 20:53:07 +0000 (22:53 +0200)
committerGustavo Lopes <glopes@nebm.ist.utl.pt>
Wed, 22 Aug 2012 20:53:07 +0000 (22:53 +0200)
* PHP-5.4:
  Fix handling of several uinitialized intl objects
  Fix handling of several uinitialized intl objects
  - Fix NEWS
  - BFN

Conflicts:
ext/intl/dateformat/dateformat.c

1  2 
ext/intl/collator/collator_create.c
ext/intl/dateformat/dateformat_attr.c
ext/intl/dateformat/dateformat_class.c
ext/intl/dateformat/dateformat_class.h
ext/intl/formatter/formatter_main.c
ext/intl/msgformat/msgformat.c
ext/intl/resourcebundle/resourcebundle_class.c

index a3b70159f2a0e65bec216623245b05f26d89d2e1,b2a9968af49a686babb1fdf3ce646abf60cf7738..b2a8c7f6bac074f37073350a63b1c54465def1ef
@@@ -45,10 -45,10 +45,10 @@@ static void collator_ctor(INTERNAL_FUNC
        }
  
        INTL_CHECK_LOCALE_LEN_OBJ(locale_len, return_value);
-       co = (Collator_object *) zend_object_store_get_object( object TSRMLS_CC );
+       COLLATOR_METHOD_FETCH_OBJECT;
  
        if(locale_len == 0) {
 -              locale = INTL_G(default_locale);
 +              locale = intl_locale_get_default(TSRMLS_C);
        }
  
        /* Open ICU collator. */
Simple merge
index fc4a8b8eb10f48c42675907b77db19bc47450831,801ca3379e38f81829b33b2688687ef3c79c851a..c465255ad4bf224fad30d231b920d45fccc6a82d
  #include "dateformat_parse.h"
  #include "dateformat.h"
  #include "dateformat_attr.h"
 +#include "dateformat_attrcpp.h"
  
+ #include <zend_exceptions.h>
  zend_class_entry *IntlDateFormatter_ce_ptr = NULL;
  static zend_object_handlers IntlDateFormatter_handlers;
  
Simple merge
Simple merge