Branch: Tag:

2002-10-25

2002-10-25 23:05:48 by Martin Stjernholm <mast@lysator.liu.se>

Don't use sort() when generating the tag set hash, since it's locale
dependent. This could cause bugs where stored p-code wouldn't get
loaded claiming that "the tag set has changed since it was encoded".

Rev: server/etc/modules/RXML.pmod/module.pmod:1.301

2:   //   // Created 1999-07-30 by Martin Stjernholm.   // - // $Id: module.pmod,v 1.300 2002/10/24 17:53:32 mast Exp $ + // $Id: module.pmod,v 1.301 2002/10/25 23:05:48 mast Exp $      // Kludge: Must use "RXML.refs" somewhere for the whole module to be   // loaded correctly.
1230:    return ({    this_object()->prefix,    this_object()->prefix_req, -  sort (indices (tags)), -  proc_instrs && sort (indices (proc_instrs)), +  mkmultiset (indices (tags)), +  proc_instrs && mkmultiset (indices (proc_instrs)),    string_entities,    }) + imported->get_hash_data() +    ({0}) + indices (dep_tag_sets)->get_hash_data();