| [hatari-devel] C: does not open if it contains a dangling symlink | 
[ Thread Index | 
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
] 
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: [hatari-devel] C: does not open if it contains a dangling symlink
- From: Vincent Rivière <vincent.riviere@xxxxxxxxxxx>
- Date: Sat, 24 Oct 2020 16:59:44 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=gmail.com; s=20161025;        h=sender:from:subject:to:message-id:date:user-agent:mime-version         :content-language:content-transfer-encoding;        bh=YGO5MNjpJS0auFpShnieD0hw2NT0FmOqE8SfEgEAQ/c=;        b=fthl4jhALD4YIAbupgdKxoGhOFpaAq7QWGZC73wFpBcYbf9T2R/s29FS8U13aX8sdF         hX4iXv+aP12Z1g0yp655azSH8Nrxj2UMeiTNvLhzntC6SsLJJeKJJexvS9MPw68JJU74         bUCSJ6CSly4BIDRGWNF/nlvyewu9NKWS5a+jj2Kz9TRgPtO3v1liGn9Entf7EUi4247C         vkndLtzCieG1oJETkwHEg4TDKSOnkoG5XSrLyfarGW7Y8G9ENs0TmsmrVoykT2alHhkn         Q3OD7pZN/Gx20aGviJsDAPYsKoB3//5pKX7SWZp3Axvoj90RQmT9Wpdpin1H7CDvOBhW         WqPQ==
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
--
Vincent Rivière