2630. [filesys.ts] [PDTS] remove() must avoid race

Section: 15.28 [filesys.ts::fs.op.remove] Status: NAD Submitter: CH-17 Opened: 2014-01-20 Last modified: 2016-08-10

Priority: Not Prioritized

View all issues with NAD status.

Discussion:

Addresses: filesys.ts

The specification can be read to require the existence test. As this introduces a race, the existence test must not happen.

Change to: "Effects: p is removed as if by POSIX remove()."

[2014-02-13 LWG/SG-3 Issaquah: Insufficient consensus for change. Vote for NAD: 9 0 0 2 1.]

Proposed resolution:

This wording is relative to SG3 working draft.

  1. Change 15.28 [filesys.ts::fs.op.remove] as indicated:

    Effects: If exists(symlink_status(p,ec)), itp is removed as if by POSIX remove().