[sparc] <bits/fcntl.h> #define's FFSYNC to undeclared O_FSYNC
Bug #517212 reported by
Kamal Mostafa
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
eglibc (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
The attached program exposes an error in sparc's <bits/fcntl.h> header. It fails to
compile ...
test_
... because sparc's /usr/include/
but does not supply O_FSYNC. (All the other remapped O_ macros defined in
the group with FFSYNC are supplied e.g. FASYNC to O_ASYNC).
Sparc's <bits/fcntl.h> should not define FFSYNC (or else must define O_FSYNC).
Notes:
- libexplain is an example of a real-world package which breaks due this.
- I tested this using the headers from libc6-dev_
To post a comment you must log in.
This bug blocks libexplain from building, as detailed in LP: #511971.