From 94ce799f82a1d3b7453b1942016f91334c838b85 Mon Sep 17 00:00:00 2001 From: Pino Toscano Date: Mon, 29 Oct 2012 19:35:56 +0100 Subject: Hurd: fix fdatasync/fsync if the fd does not support file_sync Handle the case of the fd port implementing a stub (EOPNOTSUPP), properly returning EINVAL. --- ChangeLog | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 0cfa229b5e..d2c7cc7509 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2012-10-29 Pino Toscano + * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is + EOPNOTSUPP. + * sysdeps/mach/hurd/fsync.c: Likewise. + * sysdeps/pthread/aio_notify.c (__aio_notify_only) [_POSIX_REALTIME_SIGNALS]: Change condition to [_POSIX_REALTIME_SIGNALS > 0]. -- cgit 1.4.1