Re: [hatari-devel] C: does not open if it contains a dangling symlink |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
Hi,
On 10/24/20 5:59 PM, Vincent Rivière wrote:
Hi, I noticed this bug today.
I reproduced it on both Ubuntu and Cygwin.
Run Atari with GEMDOS drive emulation.
From outside, create a dangling symlink in the C: folder:
ln -s foo bar
Inside Hatari (TOS or EmuTOS), double-click on the C: drive. It doesn't
open, even if there are valid files in the folder. So a single dangling
symlink prevents the whole drive to be opened. This should not happen.
It should just appear like an invalid file.
Standard output is:
/home/vincent/c/bar: No such file or directory
WARN : GEMDOS Fsnext(): Error setting DTA
Thanks for reporting this, it should be fixed now:
https://git.tuxfamily.org/hatari/hatari.git/commit/?id=cde30d816e0b69f56445bce7be6a7c1609e5c4ea
Non-existing host side files won't be visible to
the emulated system anymore, even as errors.
- Eero