This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/19409] New: some open() flags are undefined without _GNU_SOURCE


https://sourceware.org/bugzilla/show_bug.cgi?id=19409

            Bug ID: 19409
           Summary: some open() flags are undefined without _GNU_SOURCE
           Product: glibc
           Version: 2.22
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
          Assignee: unassigned at sourceware dot org
          Reporter: izaberina at gmail dot com
                CC: drepper.fsp at gmail dot com
  Target Milestone: ---

I'm using arch linux with glibc 2.22-3 on linux 4.2.5, and I didn't
compile glibc myself, but I downloaded the source.  The line numbers are
from the latest git commit at the time of writing:

3cf74f8a4a0e0c7b7a9b4d40ba220832f33ea638
Fix getaddrinfo bug number in ChangeLog and NEWS files


O_DIRECT, O_NOATIME, O_PATH and O_TMPFILE are defined in lines 147-152 in
sysdeps/unix/sysv/linux/bits/fcntl-linux.h if __USE_GNU is defined.
Users need _GNU_SOURCE to enable them, but this isn't mentioned anywhere
in the docs.  Please add it.


---
xoxo iza

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]