[tlbuild] interact.cc and getline insanity

John Bowman bowman at ualberta.ca
Thu Apr 24 22:53:24 CEST 2014


Thank Mojca,

Can you please provide me with a conditional that distinguished POSIX2008
systems from POSIX2003
systems under Solaris? Maybe  just

#if _POSIX_VERSION >= 200809L

Thanks,

-- John

-- John


On Thu, Apr 24, 2014 at 2:27 PM, Mojca Miklavec <
mojca.miklavec.lists at gmail.com> wrote:

> On Thu, Apr 24, 2014 at 7:26 PM, John Bowman wrote:
> > 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.
> >
> > Can someone please verify that it compiles on these noncompliant systems?
> > Thanks!
>
> It properly compiles on Solaris Sparc 10.
>
> But it also enters the "else" part on Solaris 11 where getline exists.
> Same on (Mac) OS X.
>
> The bottomline is that it works (but probably not the way you wanted
> it to work).
>
> Mojca
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/tlbuild/attachments/20140424/8e9dc923/attachment.html>


More information about the tlbuild mailing list