Title
[filesys.ts] [PDTS] POSIX guarantees atomicity for rename()
Status
nad
Section
[fs.op.rename]
Submitter
CH-18

Created on 2014-01-20.00:00:00 last changed 107 months ago

Messages

Date: 2014-02-13.00:00:00

[ 2014-02-13 LWG/SG-3 Issaquah: No consensus for change. ]

Date: 2014-02-10.00:00:00

[ 2014-02-10 Beman Dawes ]

Section 2.1, POSIX conformance, [fs.conform.9945] specifies the POSIX conformance requirements for TS implementations in carefully crafted and specific detail. Repeating a portion of the POSIX standard's specification for a particular TS function would do great harm as it would bring into question all of the portions of the POSIX specification for the function that were not repeated.

Furthermore, all the caveats and other details of the 2.1 specification would have to be analyzed and possibly appended; it ties the hands of implementors if they are not given latitude to deviate as needed when working with non-POSIX operating systems.

I strongly recommend NAD for this issue.

Date: 2016-01-31.20:31:05

Addresses: filesys.ts

POSIX guarantees some kind of atomicity for rename().

Clarify that POSIX' rename() guarantee "If the rename() function fails for any reason other than [EIO], any file named by new shall be unaffected." holds for C++ as well.

History
Date User Action Args
2016-01-28 01:00:35adminsetmessages: + msg7798
2016-01-28 01:00:35adminsetmessages: + msg7797
2014-01-20 00:00:00admincreate