Re: [hatari-devel] GEMDOS filename handling |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: "hatari-devel@xxxxxxxxxxxxxxxxxxx" <hatari-devel@xxxxxxxxxxxxxxxxxxx>
- Subject: Re: [hatari-devel] GEMDOS filename handling
- From: Max Böhm <mboehm3@xxxxxxxxx>
- Date: Sat, 2 Aug 2014 16:05:35 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=NIgNxZiW3km9AHlxdYYwkfEYgYtAK6f5XuND4v8WUEQ=; b=ILjUR9NsP8vcOgCbm88AUhLVRLi3BMi82GgFzwwdPYiciFMf3yuFJnyq4FcnSFz053 H17PzqxzfRdhKElEqU4wrk0toaIihnDbXcdXbMFnAHl4JNq64Z+Powt+76IbbFqjF0im IZ2MND8lEWrwIi0muorqoaKhk7LM8fetvG1wMh5ukYJTccCn887wFfcgHVb2Fi6BRs2D 8AtcW9n9qyPNu6/kiFqCwK88oC2zaZT+Vtv0AC23K0KRGFwep/1M0emQWKuHxuFHwPK9 pKHCxA6A3IK6XBZ2OQY5nUew91X6pl5VnYmb9iBUB2NGWkQoqJ1/5d9RtkPshjA6nH8D dX8g==
2014-07-31 15:44 GMT+02:00 Eero Tamminen <oak@xxxxxxxxxxxxxx>:
> Max, because your patch does also atari->host conversions which
> can return multibyte character strings, you need also to patch
> the longer than 8+3 filename handling to take into account
> multibyte strings.
You're right. Here is the updated patch, which takes this into account:
https://gist.github.com/b89e71f9187f2900ee7b
It only differs in the changes in gemdos.c. I now convert the TOS
name to the Host name at the end (after 8+3 processing and other
logic in add_path_component() has been applied). This means the
existing code does not need to be changed.
Max