Changeset 3767


Ignore:
Timestamp:
2003-02-25T23:03:28+13:00 (21 years ago)
Author:
sjboddie
Message:

Scattered some "use bytes" pragmas around to try to prevent perl-5.8 from messing with our
old byte-oriented string code (from perl-5.8 perl strings are character oriented rather than
byte oriented). This is kind of tricky to test since perl dynamically decides what to do with
strings at run time, depending on what characters they contain. So, it's possible that, while it
works fine on the input I've tested, it might fail somewhere unexpected on somebody elses
input. Hopefully I've got all the places where problems could occur though.
While testing this fix I also discovered that the Activestate release of perl-5.8.0 is packaged
with XML-Parser version 2.31. This is bad for Greenstone as versions of XML-Parser greater
than 2.27 cause us some grief (i.e. they seem to do an extra conversion on utf-8 characters,
turning them into rubbish). We'll continue to include perl-5.6.1 with windows distributions of
greenstone and hope nobody notices this problem.

Location:
trunk/gsdl/perllib
Files:
7 edited

Legend:

Unmodified
Added
Removed
Note: See TracChangeset for help on using the changeset viewer.