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/4366] New: fsync and POSIX.1-2001


fsync is conforming to POSIX.1-2001 says the manpage (which is correct, I 
checked).

Though compiling code with:

  gcc -ansi -Wall -D_POSIX_SOURCE=1 -D_POSIX_C_SOURCE=20011200 ...

does not enables fsync prototype.
There is a missing guard in unistd.h that says:

  #if defined __USE_BSD || defined __USE_XOPEN                                        

that should be:

  #if defined __USE_BSD || defined __USE_XOPEN || defined __USE_XOPEN2K

-- 
           Summary: fsync and POSIX.1-2001
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: drepper at redhat dot com
        ReportedBy: madcoder at debian dot org
                CC: glibc-bugs at sources dot redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=4366

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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