This page is a snapshot from the LWG issues list, see the Library Active Issues List for more information and the meaning of NAD status.

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

Section: 99 [filesys.ts::fs.op.remove] Status: NAD Submitter: CH-17 Opened: 2014-01-20 Last modified: 2017-02-03

Priority: Not Prioritized

View all issues with NAD status.


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 99 [filesys.ts::fs.op.remove] as indicated:

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