From: Dworkin Muller <dlm-9fans@weaselfish.com>
To: 9fans@9fans.net
Subject: Re: [9fans] authoritative source for u9fs?
Date: Sun, 24 Jan 2021 22:52:40 -0700 (MST) [thread overview]
Message-ID: <20210124.225240.384660972942889545.dworkin@weaselfish.com> (raw)
In-Reply-To: <CAJQ9t7ixT0YB9Bpf1XJm+-KynFBW0fmJh7aV2X5ctO16ZdoNMw@mail.gmail.com>
On Mon, 25 Jan 2021 07:10:18 +0200, Lucio De Re <lucio.dere@gmail.com> wrote:
lucio.dere> On 1/25/21, Charles Forsyth <charles.forsyth@gmail.com> wrote:
lucio.dere> > I've just accepted an important pull request to it that I missed, until I
lucio.dere> > [...]
lucio.dere> Under NetBSD 9.1, I needed to add -D_NETBSD_SOURCE to get rid of
lucio.dere> warnings for undefined initgroups() and ruserok(). The compiler seem
lucio.dere> to recommend getgroups() and cuserid() as alternatives. I'm not sure
lucio.dere> how best to deal with this for other platforms.
Charles, with the version I pulled down on Friday, I had to change the
start of plan9.h to get it to build cleanly on FreeBSD 12.2:
#ifdef __APPLE__
#define _DARWIN_C_SOURCE
#elif !defined(__FreeBSD__) /* !defined added by Dworkin */
/* magic to get SUSV2 standard, including pread, pwrite*/
#define _XOPEN_SOURCE 500
#endif
Defining _XOPEN_SOURCE on FreeBSD 12 suppresses the visibility of a
goodly amount of the BSD-related calls, including ruserok().
Dworkin
------------------------------------------
9fans: 9fans
Permalink: https://9fans.topicbox.com/groups/9fans/Tee2220301f2a891c-Md9caea9503919914ff24231f
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription
next prev parent reply other threads:[~2021-01-25 5:53 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-01-22 8:01 Dworkin Muller
2021-01-22 8:20 ` Fazlul Shahriar
2021-01-22 9:15 ` Dworkin Muller
2021-01-22 9:36 ` Steve Simon
2021-01-24 23:30 ` Charles Forsyth
2021-01-24 23:34 ` Charles Forsyth
2021-01-25 0:10 ` Lyndon Nerenberg
2021-01-25 0:14 ` Charles Forsyth
2021-01-25 6:33 ` ori
2021-01-25 5:10 ` Lucio De Re
2021-01-25 5:52 ` Dworkin Muller [this message]
2021-01-27 16:23 ` Ethan Gardener
2021-01-27 18:49 ` Lucio De Re
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210124.225240.384660972942889545.dworkin@weaselfish.com \
--to=dlm-9fans@weaselfish.com \
--cc=9fans@9fans.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).