<div dir="ltr"><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-04-24 20:26 GMT+03:00 John Bowman <span dir="ltr"><<a href="mailto:bowman@ualberta.ca" target="_blank">bowman@ualberta.ca</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">I'm willing to add the attached patch for nonPOSIX 2008 to the sources for one more year (sigh).<div>
But please put pressure on your vendors about making Solaris POSIX 2008 compliant so we can someday</div>
<div>clean up this code once and for all.</div></div></blockquote><div><br><div class="gmail_default" style="font-size:small;display:inline">​The problem is that the "official" Solaris x86 binaries are compiled on Solaris 10 and I am sure that what<br>
</div><div class="gmail_default" style="font-size:small;display:inline">you ask is never going to happen. On an OpenIndiana system (Open Solaris 11) I see the following:<br><br></div><div class="gmail_default" style="font-size:small;display:inline">
$ cat /usr/include/stdio.h<br></div><div class="gmail_default" style="font-size:small;display:inline">.....................................................<br>#if defined(__EXTENSIONS__) || \<br>        (!defined(_STRICT_STDC) && !defined(__XOPEN_OR_POSIX))<br>
        /* || defined(_XPG7) */<br>extern ssize_t getdelim(char **_RESTRICT_KYWD, size_t *_RESTRICT_KYWD,<br>        int, FILE *_RESTRICT_KYWD);<br>extern ssize_t getline(char **_RESTRICT_KYWD, size_t *_RESTRICT_KYWD,<br>
        FILE *_RESTRICT_KYWD);<br>#endif  /* __EXTENSIONS__ ... */<br>.......................................................<br></div></div></div><br><div class="gmail_default" style="font-size:small">​So it is there. Now I am compiling on a 4 years old system. Of course I can try to compile<br>
on a more recent system but then the resulting binaries will not work on Solaris 10.<br><br></div><div class="gmail_default" style="font-size:small">A.S.​</div><br>-- <br><div dir="ltr">Apostolos Syropoulos<br>Xanthi, GREECE<br>
<br><a href="http://hypercomputation.blogspot.com/" target="_blank"></a></div>
</div></div>