#1683 assigned defect

Add O_DSYNC, O_RSYNC

Reported by: Ralf Corsepius Owned by: Needs Funding
Priority: low Milestone: Indefinite
Component: tool/newlib Version: 4.11
Severity: normal Keywords:
Cc: joel.sherrill@… Blocked By:
Blocking:

Description (last modified by Sebastian Huber)

newlib lacks the defines O_DSYNC and O_RSYNC
required by the "Synchronized Input and Output" (SIO)
extensions to OpenGroup?/POSIX's fcntl.h.

c.f. http://www.opengroup.org/onlinepubs/9699919799/basedefs/fcntl.h.html

[This topic came up during the GSOC AIO project.]

Change History (6)

comment:1 Changed on Aug 20, 2010 at 12:41:19 PM by Ralf Corsepius

newlib lacks the defines O_DSYNC and O_RSYNC
required by the "Synchronized Input and Output" (SIO)
extensions to OpenGroup?/POSIX's fcntl.h.

c.f. http://www.opengroup.org/onlinepubs/9699919799/basedefs/fcntl.h.html

[This topic came up during the GSOC AIO project.]

comment:2 Changed on Aug 20, 2010 at 12:41:44 PM by Ralf Corsepius

Cc: Joel Sherrill added

comment:3 Changed on Nov 22, 2014 at 3:41:27 PM by Joel Sherrill

Description: modified (diff)
Milestone: 4.11

Newlib still doesn't have O_DSYNC and O_RSYNC. Per the 2013 standard, they are part of the Synchronized I/O option.

We should at least investigate this before 4.11. If it is appropriate to add the constants, we should.

But we have no code using it.

comment:4 Changed on Nov 23, 2014 at 3:12:00 PM by Joel Sherrill

Version: unknown4.11

comment:5 Changed on Dec 18, 2014 at 9:19:47 AM by Sebastian Huber

Description: modified (diff)
Milestone: 4.115.0
Priority: normallow

comment:6 Changed on Jan 25, 2017 at 12:37:38 PM by Sebastian Huber

Milestone: 5.0Indefinite
Owner: changed from Ralf Corsepius to Needs Funding
Status: newassigned

Not supported by FreeBSD. Linux only supports O_DSYNC, but not O_RSYNC.

Note: See TracTickets for help on using tickets.