<div dir="ltr">Thank Mojca,<div><br></div><div>Can you please provide me with a conditional that distinguished POSIX2008 systems from POSIX2003</div><div>systems under Solaris? Maybe  just</div><div><br></div><div>#if _POSIX_VERSION >= 200809L<br>
</div><div><br></div><div>Thanks,</div><div><br></div><div>-- John</div><div><br></div><div>-- John</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Apr 24, 2014 at 2:27 PM, Mojca Miklavec <span dir="ltr"><<a href="mailto:mojca.miklavec.lists@gmail.com" target="_blank">mojca.miklavec.lists@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="">On Thu, Apr 24, 2014 at 7:26 PM, John Bowman wrote:<br>
> I'm willing to add the attached patch for nonPOSIX 2008 to the sources for<br>
> one more year (sigh).<br>
> But please put pressure on your vendors about making Solaris POSIX 2008<br>
> compliant so we can someday<br>
> clean up this code once and for all.<br>
><br>
> Can someone please verify that it compiles on these noncompliant systems?<br>
> Thanks!<br>
<br>
</div>It properly compiles on Solaris Sparc 10.<br>
<br>
But it also enters the "else" part on Solaris 11 where getline exists.<br>
Same on (Mac) OS X.<br>
<br>
The bottomline is that it works (but probably not the way you wanted<br>
it to work).<br>
<span class="HOEnZb"><font color="#888888"><br>
Mojca<br>
<br>
</font></span></blockquote></div><br></div>