[tlbuild] interact.cc and getline insanity
Apostolos Syropoulos
asyropoulos at gmail.com
Thu Apr 24 19:37:45 CEST 2014
2014-04-24 20:26 GMT+03:00 John Bowman <bowman at ualberta.ca>:
> I'm willing to add the attached patch for nonPOSIX 2008 to the sources for
> one more year (sigh).
> But please put pressure on your vendors about making Solaris POSIX 2008
> compliant so we can someday
> clean up this code once and for all.
>
The problem is that the "official" Solaris x86 binaries are compiled on
Solaris 10 and I am sure that what
you ask is never going to happen. On an OpenIndiana system (Open Solaris
11) I see the following:
$ cat /usr/include/stdio.h
.....................................................
#if defined(__EXTENSIONS__) || \
(!defined(_STRICT_STDC) && !defined(__XOPEN_OR_POSIX))
/* || defined(_XPG7) */
extern ssize_t getdelim(char **_RESTRICT_KYWD, size_t *_RESTRICT_KYWD,
int, FILE *_RESTRICT_KYWD);
extern ssize_t getline(char **_RESTRICT_KYWD, size_t *_RESTRICT_KYWD,
FILE *_RESTRICT_KYWD);
#endif /* __EXTENSIONS__ ... */
.......................................................
So it is there. Now I am compiling on a 4 years old system. Of course I
can try to compile
on a more recent system but then the resulting binaries will not work on
Solaris 10.
A.S.
--
Apostolos Syropoulos
Xanthi, GREECE
<http://hypercomputation.blogspot.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/tlbuild/attachments/20140424/f668f802/attachment-0001.html>
More information about the tlbuild
mailing list