#8 patch for unpack("d")

open
nobody
None
5
2006-03-06
2006-03-06
MACHIDA Hideki
No

This is a patch for doesn't use 'unpack("d")'.
Fixed reading of 'Date' Cell data in PPC (big endian)
Environments.

Discussion

  • Brenton B
    Brenton B
    2006-03-07

    Logged In: YES
    user_id=1469492

    Thanks for that! Much appreciated!!

    Might also be worth throwing in a check if a PPC-type system
    is being used, unfortunately, not something PHP tracks that
    can be heavily relied on (or even a constant used as a
    switch). Either way, as a possible fix, check to see if
    $_SERVER['SERVER_SOFTWARE'] contains "Darwin" or "PPC".

     
  • MACHIDA Hideki
    MACHIDA Hideki
    2006-03-07

    Logged In: YES
    user_id=759215

    When a strange thing is written because I'm not good at
    English, sorry.

    Even if this patch applied, it work in linux/i386 and WIN32
    environment without trouble too.