lilypond-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 2,21,4 released


From: Jonas Hahnfeld
Subject: Re: 2,21,4 released
Date: Sat, 01 Aug 2020 11:06:36 +0200
User-agent: Evolution 3.36.4

Am Samstag, den 01.08.2020, 15:39 +0900 schrieb Masamichi Hosoda:
> > Testing with Frescobaldi would be appreciated, and also with special
> > characters in file names. I tried to model this after the code
> > Masamichi-san wrote in March, but I'm not sure I understand what it's
> > really needed for?
> 
> `stat ()` in msvcrt.dll has a problem with some Unicode file names.
> So we use `_wstat ()` instead of `stat ()` if msvcrt.dll is used.
> To use `_wstat ()`, we need a wide string,
> so we use `MultiByteToWideChar ()` to convert it.

Do you have an example of a file name that should not work? I now have
three versions from GUB (one with MoveFileExW; one without but with
wstat; and one without wstat) and all work correctly on a recent
Windows 10. Does that mean the issue is gone with a recent update?

> `stat ()` in newer UCRTs than msvcrt.dll does not have the problem.
> Therefore, if `_UCRT` is defined,
> we do not use `_wstat ()` and `MultiByteToWideChar ()`.
> 
> If I understand correctly,
> `MoveFileExA ()` and `CopyFileA ()` do not have the problem.
> So we do not necessarily need to use `MoveFileExW ()` and `CopyFileW ()`.

Attachment: signature.asc
Description: This is a digitally signed message part


reply via email to

[Prev in Thread] Current Thread [Next in Thread]