A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://cplusplus.github.io/LWG/issue2630 below:

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

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: 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)), it p is removed as if by POSIX remove().


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4