gpsd-dev
[Top][All Lists]
Advanced

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

Re: [gpsd-dev] Warnings from *BSD


From: Gary E. Miller
Subject: Re: [gpsd-dev] Warnings from *BSD
Date: Thu, 13 Jun 2019 15:09:16 -0700

Yo Hal!

On Thu, 13 Jun 2019 15:02:29 -0700
Hal Murray <address@hidden> wrote:

> > Beats me.  What OS?  
> 
> It works on NetBSD and FreeBSD.

So git head now works on NetBSD and FreeBSD?

> >>   strlcpy(foo, "foo", sizeof(foo));  
> > And why are you looking at strlcpy() what one is solved.   
> 
> For some value of "solved".  I don't understand that area.  I assume
> you would be interested in ways to simplify things.

strlcpy() on *BSD seems to need one, or more of:

#define BSD_SOURCE 1
#define __BSD_VISIBLE 1
#define _NETBSD_SOURCE

At this point, after much recent simplification, I don't feel the need
for more.

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

            Veritas liberabit vos. -- Quid est veritas?
    "If you can’t measure it, you can’t improve it." - Lord Kelvin

Attachment: pgpr52WWBLzv4.pgp
Description: OpenPGP digital signature


reply via email to

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