bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH.HURD] fix fdatasync/fsync if file_sync is not supported


From: Pino Toscano
Subject: [PATCH.HURD] fix fdatasync/fsync if file_sync is not supported
Date: Wed, 29 Aug 2012 21:33:12 +0200
User-agent: KMail/1.13.7 (Linux/3.2.0-3-amd64; KDE/4.8.4; x86_64; ; )

Hi,

Hurd's implementations of fdatasync and fsync do not take into account 
the fact that file_sync could not be implemented in the receiving port, 
or implemented as stub, returning (E)MIG_BAD_ID or EOPNOTSUPP.
Attached there is a patch to normalize them to EINVAL, as specified by 
POSIX.

Thanks,
-- 
Pino Toscano

Attachment: hurd_fsync.diff
Description: Text Data

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]