Dyalog / link

Source code for Link – the built-in component that enables the use of text files as the primary storage mechanism for APL source code
https://dyalog.github.io/link
MIT License
19 stars 10 forks source link

]Link.Status crashes if a Linked folder got removed #466

Open aplteam opened 2 years ago

aplteam commented 2 years ago

Describe the bug

Removing a folder which was Linked with a namespace with -watch=ns makes ]Link.Status crash with

ERRORS ENCOUNTERED: FILE NAME ERROR: /path/ Unable to read directory status

To Reproduce

]LinK.Create Foo /path/to/folder -watch=ns
⎕sh 'rmdir /s /q  /path/to/folder
]Link.Status

Expected behaviour

Should report a broken link instead.

I am on Link 3.1.1

This is my <01973>