Dyalog / Dyalog/link

Link.Create on # does not work with forceFilenames←1

Open
#521 0 comments 0 reactions 0 assignees View on GitHub
bug MID
Dominant language
APL
Stars
26
Forks
11
Avg merge
1d 18h
Merged PRs (30d)
1

Description

Attempting to run Link.Create on the root (when code is in `#` rather than in a sub-namespace) fails with a FILE ACCESS ERROR in case the `forceFilenames` parameter is 1.

To reproduce execute these steps with the Link variable `DEBUG` set to 1 and `]udebug on`:

```
]Link.Create # /path/to/any/empty/folder -forcefilename
FILE ACCESS ERROR: /path/to/any/empty/folder: Unable to move ("The process cannot access the file because it is being used by another process.")
Relocate[7] r,←nextto ⎕NMOVE nextfrom
⎕←nextfrom
/path/to/any/empty/folder/
⎕←nextto
/path/to/any/empty/folder/#/
```

Version info:

```
]tooLS.Version
Dyalog 18.2.46763 64-bit Unicode, BuildID ee417cdf
OS Windows 10 or Windows Server 2016 (10.0.19045) 64-bit
Link 3.1.2
SALT 2.9
UCMD 2.51
.NET .NET Framework 4.8.4614.0
Tatin 0.91.0-beta-2
Cider 0.23.5
WS 18.0
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.