[commits] Horde branch master updated. addf8ec1d29771a1ae5ea03b614cc1096f843c05

Jan Schneider jan at horde.org
Thu Dec 16 13:38:23 UTC 2010


The branch "master" has been updated.
The following is a summary of the commits.

from: 214792e3ba4b83c69926097959062fad11354710

806299c Simplify, add autoloader.
addf8ec Array keys are casted to integers if they look like numbers (WTF?). If a hash happens to be a number, ksort() fails because integers are always sorted after strings. Add a string to the hash key to make sure it's never casted to an integer.

-----------------------------------------------------------------------

commit 806299cdb00f161eca6c005adb9623b45753a315
Author: Jan Schneider <jan at horde.org>
Date:   Thu Dec 16 14:32:05 2010 +0100

    Simplify, add autoloader.

 framework/Support/package.xml                               |   25 +++++++++-
 framework/Support/test/Horde/Support/Autoload.php           |   20 ++++++++
 framework/Support/test/Horde/Support/ConsistentHashTest.php |   18 ++++---
 3 files changed, 52 insertions(+), 11 deletions(-)
 create mode 100644 framework/Support/test/Horde/Support/Autoload.php

http://git.horde.org/horde-git/-/commit/806299cdb00f161eca6c005adb9623b45753a315

-----------------------------------------------------------------------

commit addf8ec1d29771a1ae5ea03b614cc1096f843c05
Author: Jan Schneider <jan at horde.org>
Date:   Thu Dec 16 14:37:46 2010 +0100

    Array keys are casted to integers if they look like numbers (WTF?). If a hash
    happens to be a number, ksort() fails because integers are always sorted after
    strings. Add a string to the hash key to make sure it's never casted to an
    integer.

 framework/Support/lib/Horde/Support/ConsistentHash.php |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

http://git.horde.org/horde-git/-/commit/addf8ec1d29771a1ae5ea03b614cc1096f843c05




More information about the commits mailing list