<div dir="ltr">Yes, we have given up on portability to Cray systems. That's the only system, as far as I know, that ever used all-bits-0 != nil pointers.<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Sat, Sep 28, 2013 at 1:22 AM, Mouse <span dir="ltr"><<a href="mailto:mouse@rodents-montreal.org" target="_blank">mouse@rodents-montreal.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">> Use calloc for the array of pointers to ensure pointers are cleared<br>
> out so we don't try to free garbage if XdmcpDisposeARRAYofARRAY8 is<br>
> called before the caller sets them to valid pointers.<br>
<br>
</div>C does not promise that all-bits-0 (what calloc produces) gives nil<br>
pointers (what you need here).  Has X.org given up on portability to<br>
systems where all-bits-0 is not a nil pointer?  If not, this is a nasty<br>
bug waiting to happen.<br>
<br>
/~\ The ASCII                             Mouse<br>
\ / Ribbon Campaign<br>
 X  Against HTML                <a href="mailto:mouse@rodents-montreal.org">mouse@rodents-montreal.org</a><br>
/ \ Email!           7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
<a href="mailto:xorg-devel@lists.x.org">xorg-devel@lists.x.org</a>: X.Org development<br>
Archives: <a href="http://lists.x.org/archives/xorg-devel" target="_blank">http://lists.x.org/archives/xorg-devel</a><br>
Info: <a href="http://lists.x.org/mailman/listinfo/xorg-devel" target="_blank">http://lists.x.org/mailman/listinfo/xorg-devel</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>  Jasper<br>
</div>