https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=94d871eeac43657090138653ececd49dc97ee631
commit 94d871eeac43657090138653ececd49dc97ee631 Author: Corinna Vinschen <[email protected]> AuthorDate: Thu Dec 7 20:35:44 2023 +0100 Commit: Corinna Vinschen <[email protected]> CommitDate: Mon Jan 8 11:45:13 2024 +0100 Cygwin: check remote drives for being SSDs as well This enables automatic sparse file support for remote SSDs. Signed-off-by: Corinna Vinschen <[email protected]> Diff: --- winsup/cygwin/mount.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/winsup/cygwin/mount.cc b/winsup/cygwin/mount.cc index 9545d22e0768..bf26c4af3ed9 100644 --- a/winsup/cygwin/mount.cc +++ b/winsup/cygwin/mount.cc @@ -524,7 +524,7 @@ fs_info::update (PUNICODE_STRING upath, HANDLE in_vol) && !is_nfs ()); /* Check for being an SSD */ - if (!is_remote_drive () && !is_cdrom ()) + if (!is_cdrom ()) { /* Theoretically FileFsVolumeFlagsInformation would be sufficient, but apparently it's not exposed into userspace. */
