]> granicus.if.org Git - php/log
php
10 years agoFix bug #68089 - do not accept options with embedded \0
Stanislav Malyshev [Mon, 29 Sep 2014 00:53:49 +0000 (17:53 -0700)]
Fix bug #68089 - do not accept options with embedded \0

Conflicts:
ext/curl/interface.c

10 years agoFixed bug #68044: Integer overflow in unserialize() (32-bits only)
Stanislav Malyshev [Sun, 28 Sep 2014 21:19:31 +0000 (14:19 -0700)]
Fixed bug #68044: Integer overflow in unserialize() (32-bits only)

10 years agoFix bug #68027 - fix date parsing in XMLRPC lib
Stanislav Malyshev [Mon, 29 Sep 2014 00:33:44 +0000 (17:33 -0700)]
Fix bug #68027 - fix date parsing in XMLRPC lib

10 years agoMerge branch 'PHP-5.6'
Tjerk Meesters [Tue, 14 Oct 2014 15:00:17 +0000 (23:00 +0800)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Fixed bug #68128

Conflicts:
ext/spl/spl_iterators.c

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Tjerk Meesters [Tue, 14 Oct 2014 14:50:07 +0000 (22:50 +0800)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Fixed bug #68128

10 years agoFixed bug #68128
Tjerk Meesters [Mon, 6 Oct 2014 01:40:39 +0000 (09:40 +0800)]
Fixed bug #68128

Three issues are addressed:

- RecursiveRegexIterator::accept() should accept non-empty arrays without
  applying any regular expression and RegexIterator::accept() should not accept
  an array.
- RegexIterator::accept() should not accept an atom that fails to match
  anything, even when PREG_PATTERN_ORDER is used (which would return an array
  of empty arrays).
- RecursiveRegexIterator::getChildren() should pass all constructor arguments
  to its child iterator instead of just the regular expression.

10 years agoAdded API function to retrive current custom heap handlers
Dmitry Stogov [Tue, 14 Oct 2014 10:20:25 +0000 (14:20 +0400)]
Added API function to retrive current custom heap handlers

10 years agoMerge branch 'PHP-5.6'
Stanislav Malyshev [Tue, 14 Oct 2014 07:43:15 +0000 (00:43 -0700)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  update NEWS and UPGRADING
  Upated NEWS
  Address issues raised by @nikic
  Make sure min < max
  Mersenne Twister was added in GMP 4.2
  Add test files
  Add gmp_random_bits(bits) and gmp_random_range(min, max)
  Change GMPs default PRNG to Mersenne Twister

Conflicts:
ext/gmp/gmp.c

10 years agoupdate NEWS and UPGRADING
Stanislav Malyshev [Tue, 14 Oct 2014 07:36:36 +0000 (00:36 -0700)]
update NEWS and UPGRADING

10 years agoMerge branch 'pull-request/839' into PHP-5.6
Stanislav Malyshev [Tue, 14 Oct 2014 07:33:16 +0000 (00:33 -0700)]
Merge branch 'pull-request/839' into PHP-5.6

* pull-request/839:
  Upated NEWS
  Address issues raised by @nikic
  Make sure min < max
  Mersenne Twister was added in GMP 4.2
  Add test files
  Add gmp_random_bits(bits) and gmp_random_range(min, max)
  Change GMPs default PRNG to Mersenne Twister

10 years agoAllow to substitute storage layer in memory manager.
Dmitry Stogov [Tue, 14 Oct 2014 05:41:16 +0000 (09:41 +0400)]
Allow to substitute storage layer in memory manager.

10 years agofix several datatype mismatch warnings
Anatol Belski [Mon, 13 Oct 2014 16:42:30 +0000 (18:42 +0200)]
fix several datatype mismatch warnings

10 years agofix signed/unsigned mismatch warning
Anatol Belski [Mon, 13 Oct 2014 09:49:10 +0000 (11:49 +0200)]
fix signed/unsigned mismatch warning

10 years agomore signed/unsigned mismatch fix
Anatol Belski [Mon, 13 Oct 2014 09:40:22 +0000 (11:40 +0200)]
more signed/unsigned mismatch fix

10 years agofix signed/unsigned mismatch warning
Anatol Belski [Mon, 13 Oct 2014 09:37:03 +0000 (11:37 +0200)]
fix signed/unsigned mismatch warning

10 years agofix signed/unsigned mismatch
Anatol Belski [Mon, 13 Oct 2014 09:32:13 +0000 (11:32 +0200)]
fix signed/unsigned mismatch

10 years agofix some signed/unsigned mismatch
Anatol Belski [Mon, 13 Oct 2014 07:12:15 +0000 (09:12 +0200)]
fix some signed/unsigned mismatch

10 years agomissing include for strlen proto
Anatol Belski [Mon, 13 Oct 2014 06:16:22 +0000 (08:16 +0200)]
missing include for strlen proto

10 years agoMore fixes for array/object casts with temporary variables
Nikita Popov [Mon, 13 Oct 2014 13:19:23 +0000 (15:19 +0200)]
More fixes for array/object casts with temporary variables

10 years agoFix array/object cast of refcounted tmp var
Nikita Popov [Mon, 13 Oct 2014 12:51:53 +0000 (14:51 +0200)]
Fix array/object cast of refcounted tmp var

10 years agoDeref right value for compound assign ops
Nikita Popov [Sun, 12 Oct 2014 20:01:09 +0000 (22:01 +0200)]
Deref right value for compound assign ops

Currently we do not support IS_REFERENCE operands for most of our
*_function's (should we?), so we need to deref here.

10 years agoMerge branch 'PHP-5.6'
Dmitry Stogov [Mon, 13 Oct 2014 10:10:44 +0000 (14:10 +0400)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  We can't eliminate FETCH_CONSTANT opcodes for constants represented by AST.

Conflicts:
ext/opcache/Optimizer/pass1_5.c

10 years agoWe can't eliminate FETCH_CONSTANT opcodes for constants represented by AST.
Dmitry Stogov [Mon, 13 Oct 2014 10:07:37 +0000 (14:07 +0400)]
We can't eliminate FETCH_CONSTANT opcodes for constants represented by AST.

10 years agoEnsure __LINE__ is always accurate
Nikita Popov [Sun, 12 Oct 2014 18:54:45 +0000 (20:54 +0200)]
Ensure __LINE__ is always accurate

10 years agoFix incdec of referenced properties
Nikita Popov [Sun, 12 Oct 2014 18:39:07 +0000 (20:39 +0200)]
Fix incdec of referenced properties

I thought these SEPARATE_ZVAL_IF_NOT_REF usages were safe at first,
because incdec op supports reference variables. However this
violates the constraint that IS_TMP_VAR variables may not be
references (which is an issue if you use the result of the incdec
op).

Still need to fix the cases where read_property/write_property is
used.

10 years agoFix ::jsonSerialize() failure message
Nikita Popov [Sun, 12 Oct 2014 18:11:57 +0000 (20:11 +0200)]
Fix ::jsonSerialize() failure message

10 years agoFix invalid zend_string_frees in reflection
Nikita Popov [Sun, 12 Oct 2014 17:01:45 +0000 (19:01 +0200)]
Fix invalid zend_string_frees in reflection

zend_lookup_class can share the name

10 years agoRemove retval member in spl_dllist
Nikita Popov [Fri, 10 Oct 2014 13:32:04 +0000 (15:32 +0200)]
Remove retval member in spl_dllist

Seems pretty useless, unless I'm missing something?

10 years agoMerge branch 'PHP-5.6'
Anatol Belski [Sun, 12 Oct 2014 17:22:40 +0000 (19:22 +0200)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  DLL export several APIs needed for phpdbg

10 years agoDLL export several APIs needed for phpdbg
Anatol Belski [Sun, 12 Oct 2014 17:22:03 +0000 (19:22 +0200)]
DLL export several APIs needed for phpdbg

10 years agoMerge branch 'PHP-5.6'
Tjerk Meesters [Sun, 12 Oct 2014 04:55:24 +0000 (12:55 +0800)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  More fixes for nodelist array access
  - testing for null property read
  - no zval copying if the type is already long
  - memory fix for master
  - use zend_long for offset

Conflicts:
ext/dom/php_dom.c

10 years agoMore fixes for nodelist array access
Tjerk Meesters [Sun, 12 Oct 2014 04:47:58 +0000 (12:47 +0800)]
More fixes for nodelist array access
- testing for null property read
- no zval copying if the type is already long
- memory fix for master

10 years agoint to size_t where the underlaying API supports it
Anatol Belski [Thu, 9 Oct 2014 08:53:28 +0000 (10:53 +0200)]
int to size_t where the underlaying API supports it

10 years agouse php_socket_t instead of int
Anatol Belski [Thu, 9 Oct 2014 08:35:47 +0000 (10:35 +0200)]
use php_socket_t instead of int

10 years agofix signed/unsigned mismatch warning
Anatol Belski [Thu, 9 Oct 2014 07:03:37 +0000 (09:03 +0200)]
fix signed/unsigned mismatch warning

10 years agofix compilation warning
Anatol Belski [Thu, 9 Oct 2014 06:49:55 +0000 (08:49 +0200)]
fix compilation warning

10 years agoImproved specialisation $this variable accessed through IS_UNUSED operand must be...
Dmitry Stogov [Fri, 10 Oct 2014 12:36:12 +0000 (16:36 +0400)]
Improved specialisation $this variable accessed through IS_UNUSED operand must be IS_OBJECT, so we don't have to check for its type or perform dereference.

10 years agoAdd notes about get_class_entry/get_class_name to UPGRADING
Nikita Popov [Fri, 10 Oct 2014 10:28:55 +0000 (12:28 +0200)]
Add notes about get_class_entry/get_class_name to UPGRADING

10 years agoFix casts in GD
Nikita Popov [Fri, 10 Oct 2014 10:23:33 +0000 (12:23 +0200)]
Fix casts in GD

Using convert_to_* after ZVAL_COPY is unsafe.

10 years agoDrop redundant casting code from ext/filter
Nikita Popov [Fri, 10 Oct 2014 10:14:26 +0000 (12:14 +0200)]
Drop redundant casting code from ext/filter

10 years agoupdate NEWS
Ard Biesheuvel [Fri, 10 Oct 2014 09:45:58 +0000 (11:45 +0200)]
update NEWS

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
10 years agoMerge branch 'PHP-5.6'
Ard Biesheuvel [Fri, 10 Oct 2014 09:46:18 +0000 (11:46 +0200)]
Merge branch 'PHP-5.6'

10 years agoupdate NEWS
Ard Biesheuvel [Fri, 10 Oct 2014 09:45:24 +0000 (11:45 +0200)]
update NEWS

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Ard Biesheuvel [Fri, 10 Oct 2014 09:44:52 +0000 (11:44 +0200)]
Merge branch 'PHP-5.5' into PHP-5.6

10 years agoupdate NEWS
Ard Biesheuvel [Fri, 10 Oct 2014 09:44:39 +0000 (11:44 +0200)]
update NEWS

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
10 years agoMerge branch 'PHP-5.4' into PHP-5.5
Ard Biesheuvel [Fri, 10 Oct 2014 09:41:10 +0000 (11:41 +0200)]
Merge branch 'PHP-5.4' into PHP-5.5

10 years agoupdate NEWS
Ard Biesheuvel [Fri, 10 Oct 2014 09:40:07 +0000 (11:40 +0200)]
update NEWS

Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
10 years agoAdded note to UPGRADING regarding 64-bit support in pack()/unpack()
Tjerk Meesters [Thu, 9 Oct 2014 23:33:06 +0000 (07:33 +0800)]
Added note to UPGRADING regarding 64-bit support in pack()/unpack()

10 years agopack(): Use SIZEOF_ZEND_LONG instead of SIZEOF_LONG
Tjerk Meesters [Thu, 9 Oct 2014 23:20:10 +0000 (07:20 +0800)]
pack(): Use SIZEOF_ZEND_LONG instead of SIZEOF_LONG

10 years agoMerge branch 'PHP-5.6'
Tjerk Meesters [Thu, 9 Oct 2014 23:05:36 +0000 (07:05 +0800)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Add 64 bit formats to pack() and unpack()

10 years agoRFC: 64 bit format codes for pack() and unpack()
Tjerk Meesters [Thu, 9 Oct 2014 23:00:38 +0000 (07:00 +0800)]
RFC: 64 bit format codes for pack() and unpack()

10 years agoAdd 64 bit formats to pack() and unpack()
Leigh [Mon, 8 Sep 2014 20:59:32 +0000 (21:59 +0100)]
Add 64 bit formats to pack() and unpack()

10 years agoHelp to CPU branch predictor
Dmitry Stogov [Thu, 9 Oct 2014 19:58:41 +0000 (23:58 +0400)]
Help to CPU branch predictor

10 years agoRemoved unused EG(orig_error_reporting)
Dmitry Stogov [Thu, 9 Oct 2014 19:38:39 +0000 (23:38 +0400)]
Removed unused EG(orig_error_reporting)

10 years agoUpdate get_class_name semantics
Nikita Popov [Thu, 9 Oct 2014 17:15:07 +0000 (19:15 +0200)]
Update get_class_name semantics

 * get_class_name is now only used for displaying the class name
   in debugging functions like var_dump, print_r, etc. It is no
   longer used in get_class() etc.
 * As it is no longer used in get_parent_class() the parent
   argument is now gone. This also fixes incorrect parent classes
   being reported in COM.
 * get_class_name is now always required (previously some places
   made it optional and some required it) and is also required
   to return a non-NULL value.
 * Remove zend_get_object_classname. This also fixes a number of
   potential leaks due to incorrect usage of this function.

10 years agoRemove Z_OBJ_CLASS_NAME_P
Nikita Popov [Thu, 9 Oct 2014 15:16:37 +0000 (17:16 +0200)]
Remove Z_OBJ_CLASS_NAME_P

Doesn't make much sense anymore, now that get_class_entry is
gone.

10 years agoImproved VM stack primitives for fast paths. Slow paths are not inlined anymore.
Dmitry Stogov [Thu, 9 Oct 2014 16:29:02 +0000 (20:29 +0400)]
Improved VM stack primitives for fast paths. Slow paths are not inlined anymore.

10 years agoMerge branch 'PHP-5.6'
Tjerk Meesters [Thu, 9 Oct 2014 15:32:19 +0000 (23:32 +0800)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Refactored DOMNodeList array dereferencing implementation

Conflicts:
ext/dom/nodelist.c
ext/dom/php_dom.c

10 years agoRefactored DOMNodeList array dereferencing implementation
Tjerk Meesters [Thu, 9 Oct 2014 15:07:12 +0000 (23:07 +0800)]
Refactored DOMNodeList array dereferencing implementation

10 years agozval must not be converted in place without duplication
Dmitry Stogov [Thu, 9 Oct 2014 14:34:19 +0000 (18:34 +0400)]
zval must not be converted in place without duplication

10 years agoRemove PDORow get_class_entry handler
Nikita Popov [Thu, 9 Oct 2014 13:23:14 +0000 (15:23 +0200)]
Remove PDORow get_class_entry handler

10 years agoRemove get_class_entry handlers in COM
Nikita Popov [Thu, 9 Oct 2014 12:42:56 +0000 (14:42 +0200)]
Remove get_class_entry handlers in COM

10 years agoRemove zend_get_class_entry function
Nikita Popov [Thu, 9 Oct 2014 12:17:30 +0000 (14:17 +0200)]
Remove zend_get_class_entry function

10 years agoRemove get_class_entry object handler
Nikita Popov [Thu, 9 Oct 2014 12:08:10 +0000 (14:08 +0200)]
Remove get_class_entry object handler

10 years agoRemove proxy object implementation
Nikita Popov [Thu, 9 Oct 2014 12:01:08 +0000 (14:01 +0200)]
Remove proxy object implementation

10 years agoRemove support for classes without class entries
Nikita Popov [Thu, 9 Oct 2014 11:58:14 +0000 (13:58 +0200)]
Remove support for classes without class entries

get_class_entry must be non-NULL and return non-NULL.

10 years agoReview a few more SEPARATE_ZVAL_IF_NOT_REF usages
Nikita Popov [Thu, 9 Oct 2014 10:51:05 +0000 (12:51 +0200)]
Review a few more SEPARATE_ZVAL_IF_NOT_REF usages

10 years agoFix bug #68191: Broken reference across objects
Nikita Popov [Thu, 9 Oct 2014 10:02:42 +0000 (12:02 +0200)]
Fix bug #68191: Broken reference across objects

10 years agoDirectly use zend_string for php_implode/php_explode
Nikita Popov [Tue, 7 Oct 2014 14:43:50 +0000 (16:43 +0200)]
Directly use zend_string for php_implode/php_explode

Also drop some unnecessary zval separations and copies

10 years agoCopy all the arena allocated data from SHM to process memory at once
Dmitry Stogov [Thu, 9 Oct 2014 10:01:19 +0000 (14:01 +0400)]
Copy all the arena allocated data from SHM to process memory at once

10 years agoMerge branch 'PHP-5.6'
Tjerk Meesters [Thu, 9 Oct 2014 08:55:15 +0000 (16:55 +0800)]
Merge branch 'PHP-5.6'

Conflicts:
ext/dom/dom_properties.h
ext/dom/nodelist.c
ext/dom/php_dom.c

10 years agoUpdated NEWS for #67949
Tjerk Meesters [Thu, 9 Oct 2014 08:18:14 +0000 (16:18 +0800)]
Updated NEWS for #67949

10 years agoMerge branch 'pr/846' into PHP-5.6
Tjerk Meesters [Thu, 9 Oct 2014 07:55:10 +0000 (15:55 +0800)]
Merge branch 'pr/846' into PHP-5.6

* pr/846:
  DOMNodeList elements are accessible through array notation

10 years agoMerge branch 'PHP-5.6'
Tjerk Meesters [Thu, 9 Oct 2014 00:24:58 +0000 (08:24 +0800)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Updated NEWS for #68129
  Updated NEWS for #68129
  Fixed bug #68129

10 years agoUpdated NEWS for #68129
Tjerk Meesters [Thu, 9 Oct 2014 00:24:30 +0000 (08:24 +0800)]
Updated NEWS for #68129

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Tjerk Meesters [Thu, 9 Oct 2014 00:24:05 +0000 (08:24 +0800)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Updated NEWS for #68129
  Fixed bug #68129

10 years agoUpdated NEWS for #68129
Tjerk Meesters [Thu, 9 Oct 2014 00:23:42 +0000 (08:23 +0800)]
Updated NEWS for #68129

10 years agoFixed bug #68129
Tjerk Meesters [Sun, 5 Oct 2014 23:27:05 +0000 (07:27 +0800)]
Fixed bug #68129

Empty usernames and passwords are now treated differently from no username or password

For example, empty password:

    ftp://user:@example.org

Empty username:

    ftp://:password@example.org

Empty username and empty password

    ftp://:@example.org

10 years agoMerge branch 'PHP-5.6'
Dmitry Stogov [Wed, 8 Oct 2014 17:54:05 +0000 (21:54 +0400)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Added info about ext/opcache

Conflicts:
EXTENSIONS

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Dmitry Stogov [Wed, 8 Oct 2014 17:49:53 +0000 (21:49 +0400)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Added info about ext/opcache

10 years agoAdded info about ext/opcache
Dmitry Stogov [Wed, 8 Oct 2014 17:48:44 +0000 (21:48 +0400)]
Added info about ext/opcache

10 years agoExposed zend_clean_and_cache_symbol_table() and fixed incorrect efree()
Dmitry Stogov [Wed, 8 Oct 2014 12:08:26 +0000 (16:08 +0400)]
Exposed zend_clean_and_cache_symbol_table() and fixed incorrect efree()

10 years agolet phpize profit from /mp as well
Anatol Belski [Wed, 8 Oct 2014 09:14:23 +0000 (11:14 +0200)]
let phpize profit from /mp as well

10 years agofix phpize for /mp and more
Anatol Belski [Wed, 8 Oct 2014 09:01:15 +0000 (11:01 +0200)]
fix phpize for /mp and more

10 years agofix /mp usage for VC++
Anatol Belski [Wed, 8 Oct 2014 08:59:15 +0000 (10:59 +0200)]
fix /mp usage for VC++

10 years agofix wording
Anatol Belski [Wed, 8 Oct 2014 07:01:46 +0000 (09:01 +0200)]
fix wording

10 years agoMerge branch 'PHP-5.6'
Keyur Govande [Tue, 7 Oct 2014 21:23:04 +0000 (21:23 +0000)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Add to NEWS
  Add to NEWS
  Fix for bug #68087 (ODBC not reading DATE columns correctly)

10 years agoAdd to NEWS
Keyur Govande [Tue, 7 Oct 2014 21:22:54 +0000 (21:22 +0000)]
Add to NEWS

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Keyur Govande [Tue, 7 Oct 2014 21:22:07 +0000 (21:22 +0000)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Add to NEWS
  Fix for bug #68087 (ODBC not reading DATE columns correctly)

10 years agoAdd to NEWS
Keyur Govande [Tue, 7 Oct 2014 21:21:23 +0000 (21:21 +0000)]
Add to NEWS

10 years agoFix for bug #68087 (ODBC not reading DATE columns correctly)
Keyur Govande [Tue, 7 Oct 2014 21:17:36 +0000 (21:17 +0000)]
Fix for bug #68087 (ODBC not reading DATE columns correctly)

Temporary variable indicating column field type ID should be
reset to default for loop iteration (i.e. every column in the
record set. The old buggy code made it persist across all columns
leading to invalid reads from the buffer, if for example a DATE
column was preceded by a VARCHAR column.

10 years agoMerge branch 'PHP-5.6'
Keyur Govande [Tue, 7 Oct 2014 21:09:57 +0000 (21:09 +0000)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Add to NEWS

10 years agoAdd to NEWS
Keyur Govande [Tue, 7 Oct 2014 21:09:47 +0000 (21:09 +0000)]
Add to NEWS

10 years agoMerge branch 'PHP-5.6'
Keyur Govande [Tue, 7 Oct 2014 21:08:33 +0000 (21:08 +0000)]
Merge branch 'PHP-5.6'

* PHP-5.6:
  Add to NEWS
  Fix for bug #68114 (Build fails on OS X due to undefined symbols)

10 years agoMerge branch 'PHP-5.5' into PHP-5.6
Keyur Govande [Tue, 7 Oct 2014 21:08:18 +0000 (21:08 +0000)]
Merge branch 'PHP-5.5' into PHP-5.6

* PHP-5.5:
  Add to NEWS
  Fix for bug #68114 (Build fails on OS X due to undefined symbols)

10 years agoAdd to NEWS
Keyur Govande [Tue, 7 Oct 2014 21:07:19 +0000 (21:07 +0000)]
Add to NEWS

10 years agoFix for bug #68114 (Build fails on OS X due to undefined symbols)
Keyur Govande [Tue, 7 Oct 2014 20:58:43 +0000 (20:58 +0000)]
Fix for bug #68114 (Build fails on OS X due to undefined symbols)

gcc (i686-apple-darwin10-gcc-4.2.1) on OS X cannot link fixed-width
decimals and fails with undefined symbols errors like ___extendsddf.
If configure used gcc for compiling it would notice and mark the
feature HAVE_DECIMAL_FP_SUPPORT as unsupported.
But configure seems to use cc (i686-apple-darwin10-llvm-gcc-4.2)
instead, which doesn't support fixed-width decimals either, but the
code compiles and links just fine. I suspect it may have something
to do with the llvm backend printed in the version.
Lacking the time to debug this further, the patch fixes the issue by
checking the expected output when fixed-width decimal support is
present and correctly implemented.

10 years agoMicro optimization
Dmitry Stogov [Tue, 7 Oct 2014 19:48:55 +0000 (23:48 +0400)]
Micro optimization

10 years agoImproved return by reference handling
Dmitry Stogov [Tue, 7 Oct 2014 18:38:37 +0000 (22:38 +0400)]
Improved return by reference handling

10 years agoReorder fields for better alignment on both 32-bit and 64-bit systems
Dmitry Stogov [Tue, 7 Oct 2014 14:12:09 +0000 (18:12 +0400)]
Reorder fields for better alignment on both 32-bit and 64-bit systems