Damjan Jovanovic : ntdll: FAT filesystems are called "msdosfs" on FreeBSD >= 5.
Alexandre Julliard
julliard at winehq.org
Tue Nov 10 15:30:24 CST 2020
Module: wine
Branch: master
Commit: d1c8611886f65c11f6985bc6f4e7c72a5e349083
URL: https://source.winehq.org/git/wine.git/?a=commit;h=d1c8611886f65c11f6985bc6f4e7c72a5e349083
Author: Damjan Jovanovic <damjan.jov at gmail.com>
Date: Tue Nov 10 06:49:46 2020 +0200
ntdll: FAT filesystems are called "msdosfs" on FreeBSD >= 5.
Signed-off-by: Damjan Jovanovic <damjan.jov at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/ntdll/unix/file.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/dlls/ntdll/unix/file.c b/dlls/ntdll/unix/file.c
index c8531bb4f93..3699f8b8891 100644
--- a/dlls/ntdll/unix/file.c
+++ b/dlls/ntdll/unix/file.c
@@ -6349,7 +6349,9 @@ NTSTATUS WINAPI NtQueryVolumeInformationFile( HANDLE handle, IO_STATUS_BLOCK *io
fs_type = MOUNTMGR_FS_TYPE_ISO9660;
else if (!strcmp( stfs.f_fstypename, "udf" ))
fs_type = MOUNTMGR_FS_TYPE_UDF;
- else if (!strcmp( stfs.f_fstypename, "msdos" ))
+ else if (!strcmp( stfs.f_fstypename, "msdos" )) /* FreeBSD < 5, Apple */
+ fs_type = MOUNTMGR_FS_TYPE_FAT32;
+ else if (!strcmp( stfs.f_fstypename, "msdosfs" )) /* FreeBSD >= 5 */
fs_type = MOUNTMGR_FS_TYPE_FAT32;
#endif
}
More information about the wine-cvs
mailing list