On 05/17/11 09:05 AM, Nico Williams wrote:
> On Tue, May 17, 2011 at 10:35 AM, Alan Coopersmith
> <alan.coopersm...@oracle.com> wrote:
>> On 05/16/11 09:31 PM, bugmail-sen...@sun.com wrote:
>>> *Synopsis*: usr/share/doc/ksh/shell_styleguide.html has sporadic wsdiff 
>>> changes
>>
>> http://journal.dedasys.com/2009/09/07/stopping-docbook-version-control-churn
>> discusses the root cause of this:
>>  "The problem is that generate-id, at least in xsltproc, uses a fairly random
>>   bit of data (memory location) to create the id."
> 
> 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.

-- 
        -Alan Coopersmith-        alan.coopersm...@oracle.com
         Oracle Solaris Platform Engineering: X Window System

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

Reply via email to