From: Jorge Almeida <jjalmeida@gmail.com>
To: musl@lists.openwall.com
Subject: Re: fdopendir (BUG?)
Date: Mon, 28 Jan 2019 21:33:42 +0000 [thread overview]
Message-ID: <CAKpSnpLyRp7e81WUBpAfSa5pHOqgkB+PZV5EWHeLvr4xYcRuzA@mail.gmail.com> (raw)
In-Reply-To: <3cd586df-a7fa-8660-c17e-d32aa845431c@linaro.org>
On Mon, Jan 28, 2019 at 8:31 PM Adhemerval Zanella
<adhemerval.zanella@linaro.org> wrote:
>
>
>
> > the Linux man-pages project") It says:
> > Feature Test Macro Requirements for glibc (see feature_test_macros(7)):
> >
> > fdopendir():
> > Since glibc 2.10:
> > _POSIX_C_SOURCE >= 200809L
> > Before glibc 2.10:
> > _GNU_SOURCE
> >
> > I have glibc-2.27
> >
>
> This is for *fdopendir* declaration, the *O_PATH* flag is documented by
> open.2 and it defines:
>
> ---
> CONFORMING TO
> open(), creat() SVr4, 4.3BSD, POSIX.1-2001, POSIX.1-2008.
>
> openat(): POSIX.1-2008.
>
> The O_DIRECT, O_NOATIME, O_PATH, and O_TMPFILE flags are Linux-specific.
> One must define _GNU_SOURCE to obtain their definitions.
> ---
OK, got it. Still, it compiles against musl, even without _GNU_SOURCE
next prev parent reply other threads:[~2019-01-28 21:33 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-28 12:37 Jorge Almeida
2019-01-28 16:16 ` Rich Felker
2019-01-28 18:53 ` Adhemerval Zanella
2019-01-28 19:42 ` Jorge Almeida
2019-01-28 20:30 ` Adhemerval Zanella
2019-01-28 21:33 ` Jorge Almeida [this message]
2019-01-29 1:50 ` Adhemerval Zanella
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=CAKpSnpLyRp7e81WUBpAfSa5pHOqgkB+PZV5EWHeLvr4xYcRuzA@mail.gmail.com \
--to=jjalmeida@gmail.com \
--cc=musl@lists.openwall.com \
/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.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/musl/
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).