|
Message-ID: <CAKpSnpLyRp7e81WUBpAfSa5pHOqgkB+PZV5EWHeLvr4xYcRuzA@mail.gmail.com> Date: Mon, 28 Jan 2019 21:33:42 +0000 From: Jorge Almeida <jjalmeida@...il.com> To: musl@...ts.openwall.com Subject: Re: fdopendir (BUG?) On Mon, Jan 28, 2019 at 8:31 PM Adhemerval Zanella <adhemerval.zanella@...aro.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
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.