gpsd-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [gpsd-dev] ✘gpsd is now C99, really.


From: Gary E. Miller
Subject: Re: [gpsd-dev] ✘gpsd is now C99, really.
Date: Tue, 16 Aug 2016 00:14:36 -0700

Yo Hal!

On Tue, 16 Aug 2016 00:03:22 -0700
Hal Murray <address@hidden> wrote:

> > Can you tell me how daemon(), setgroups(), cfmaeraw() and others
> > need to be called?   
> 
> The old stuff worked.  :)

Sort of.  But yes, I knew it was a risk.

> From cenos 7 man pages
> 
>    Feature Test Macro Requirements for glibc (see
> feature_test_macros(7)): daemon(): _BSD_SOURCE || (_XOPEN_SOURCE &&
> _XOPEN_SOURCE < 500) setgroups(): _BSD_SOURCE
>        cfsetspeed(), cfmakeraw(): _BSD_SOURCE

Well, that does not match up with XOPEN docs.

_BSD_SOURCE has been deprecated for over a decade...

> > Clearly your system is not POSIX 2001 compatible...  
> 
> I didn't say it was.

So what is it compatible with?

I'll work on this in the morning, I expected badness....

Do you have an online source for the relevant man pages?

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        address@hidden  Tel:+1 541 382 8588

Attachment: pgp3YsHhXUOdl.pgp
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]