Resend including TZ alias...sorry about the double copy, Todd.<br><br><div class="gmail_quote"><div class="im">On Fri, Oct 12, 2012 at 9:24 AM, Todd C. Miller <span dir="ltr">&lt;<a href="mailto:Todd.Miller@courtesan.com" target="_blank">Todd.Miller@courtesan.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
For this bit in date.c:<br>
<div><br>
-       found = select(FD_SETSIZE, &amp;ready, (fd_set *)0, (fd_set *)0, &amp;tout);<br>
+       found = select(FD_SETSIZE, &amp;ready, 0, 0, &amp;tout);<br>
<br>
</div>You probably want to use NULL, not a bare 0 for the 3rd and 4th<br>
arguments.<br></blockquote></div><div><br>Assuming that there is a prototoype in 
scope, the 0 should be safe.  There is some justice in saying that NULL 
would be safer, but it is not strictly necessary.<br><br> <br></div><div class="im"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Also, I believe irealloc() is still needed if you are targetting<br>
C89 as the behavior where realloc(NULL, n) being equivalent to<br>
malloc(n) was standardized in C99, not C89.<br>
<span></span></blockquote></div><div><br>Which part of C89 do you think is not equivalent?<br><br>9899:1990 (copied from Schildt&#39;s &quot;The Annotated ANSI C Standard&quot; — the standard text is useful; the annotations are not).<br>


<br>§7.10.3.4 The realloc function<br><br>Synopsis<br><br>#include &lt;stdlib.h&gt;<br>void *realloc(void *ptr, size_t size);<br><br>Description<br><br>The
 realloc function changes the size of the object pointed to by ptr to 
the size specified by size.  The contents of the object shall be 
unchanged up to the lesser of the new and old sizes.  If the new size is
 larger, the value of the newly allocated portion of the object is 
indeterminate.  If ptr is a null pointer, the realloc function behaves 
like the malloc function for the specified size.  Otherwise, if ptr does
 not match a pointer earlier returned by the calloc, malloc, or realloc 
function, or if the space has been deallocated by a call to the free or 
realloc function, the behaviour is undefined.  If the space cannot be 
allocated, the object pointed to by ptr is unchanged. If size is zero 
and ptr is not a null pointer, the object it points to is freed.<br>
<br>Returns<br><br>The realloc function returns either a null pointer or a pointer to the possibly moved allocated space.<br></div></div><br><br>That explicitly says &quot;realloc(NULL, size)&quot; behaves like &quot;malloc(size)&quot;.<br>

<br><br clear="all"><br>-- <br>Jonathan Leffler &lt;<a href="mailto:jonathan.leffler@gmail.com" target="_blank">jonathan.leffler@gmail.com</a>&gt;  #include &lt;disclaimer.h&gt;<br>Guardian of DBD::Informix - v2011.0612 - <a href="http://dbi.perl.org" target="_blank">http://dbi.perl.org</a><br>

&quot;Blessed are we who can laugh at ourselves, for we shall never cease to be amused.&quot;<br>