On Tue, May 17, 2011 at 11:27 AM, Alan Coopersmith
<alan.coopersm...@oracle.com> wrote:
> On 05/17/11 09:05 AM, Nico Williams wrote:
>> I wonder if xsltproc could provide a pseudo-random version of
>> generate_id() (and a way to seed it).
>
> You could probably LD_PRELOAD a shared object with an init routine to
> malloc a psuedo-random amount of memory on the heap before the file is
> loaded & parsed, if you wanted to test with different memory addresses.
>
> Since the sparc & x86 memory layouts are definitely different, diff'ing
> those is a simpler way to test that, if you can build on both architectures.
> If you only have one, you might try 32-bit vs. 64-bit builds of xsltproc.

What I meant is that it'd be nice if xsltproc provided a deterministic
ID generation facility for this instead of using a
not-so-deterministic one.  File an RFE with the xsltproc community?

Nico
--
_______________________________________________
ksh93-integration-discuss mailing list
ksh93-integration-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/ksh93-integration-discuss

Reply via email to