RTEMS | aio_fsync() does not support O_DSYNC (#5040)

Joel Sherrill (@joel) gitlab at rtems.org
Sat Jun 29 20:13:43 UTC 2024




Joel Sherrill commented: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5040#note_108495


fsync.h is from newlib and installed with your compiler. The definition of O_DSYNC and O_RSYNC are inside an ifdef(__CYGWIN__) but according to [POSIX](https://pubs.opengroup.org/onlinepubs/009604499/basedefs/fcntl.h.html), two of the four items defined there are standard. Find them in _default_fsync.h.

For the short term, edit the installed file and let's see what works for you. Then I can take the lead to get this submitted to newlib and bump the RTEMS RSB.

Perhaps we are also fixing #1683 at the same time.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5040#note_108495
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20240629/2a00836e/attachment.htm>


More information about the bugs mailing list