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

### 2636. [filesys.ts] [PDTS] `copy_options::copy_symlinks` is not used

Section: 10.2 [filesys.ts::enum.copy_options] Status: TS Submitter: P.J. Plauger Opened: 2014-01-30 Last modified: 2017-07-30

Priority: Not Prioritized

View all other issues in [filesys.ts::enum.copy_options].

View all issues with TS status.

Discussion:

Addresses: filesys.ts

`copy_options::copy_symlinks` is not used (should test it before calling `copy_symlinks` in `copy`).

[20 May 2014 Beman Dawes provides proposed wording.]

Proposed resolution:

Change 15.3 Copy [fs.op.copy]:

> > If `is_symlink(f)`, then:

> > - If `options & copy_options::skip_symlinks`, then return. Missing != copy_options::none fixed by issue 59
> > - Otherwise if `!exists(t) && (options & copy_options::copy_symlinks) != copy_options::none` , then `copy_symlink(from, to, options)` .
> > - Otherwise report an error as specified in Error reporting (7).