[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mandoc-tech
Subject:    Re: small for FreeBSD
From:       Ingo Schwarze <schwarze () usta ! de>
Date:       2018-02-09 0:54:00
Message-ID: 20180209005400.GA36627 () athene ! usta ! de
[Download RAW message or body]

Hi Brooks,

Brooks Davis wrote on Thu, Feb 08, 2018 at 11:47:27PM +0000:
> On Fri, Feb 09, 2018 at 12:40:23AM +0100, Jan Stary wrote:
> > On Feb 08 19:31:46, brooks@freebsd.org wrote:

>>> In our local tree we have this change to work around the fact that
>>> FreeBSD doesn't provide a getline() prototype unless _WITH_GETLINE is
>>> defined before stdio.h is included.  It would be nice if some variant of
>>> this could make it in to mandoc.

>> It would be way nicer if FreeBSD just provided getline(), period.

> I apologize, it looks like the need for this was removed over a year go.
> Please disregard.

You mean,

  https://svnweb.freebsd.org/base/head/include/stdio.h?r1=299574&r2=303524

?

Yeah, i think bapt@ did the right thing there.  The getline(3)
function has been in POSIX for some time now, so it makes sense
to me that FreeBSD makes it available by default, too.

Old software that defined getline() to be something else should
adapt, and i guess most was changed by now, unless it has been
totally unmaintained for a decade.

So i think we agree that no change is needed in mandoc.

Yours,
  Ingo
--
 To unsubscribe send an email to tech+unsubscribe@mandoc.bsd.lv

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic