From b32c7149ebdb515c4d2b8af5c236fcc7c17c5ab7 Mon Sep 17 00:00:00 2001 From: Pete Batard Date: Wed, 20 Jul 2016 10:42:53 +0100 Subject: [PATCH] v2.10 (build 973) * Also fix an indentation warning from gcc 6.1 --- ChangeLog.txt | 3 ++- res/uefi/readme.txt | 10 +++++----- src/rufus.rc | 10 +++++----- src/syslinux/libfat/open.c | 2 +- 4 files changed, 13 insertions(+), 12 deletions(-) diff --git a/ChangeLog.txt b/ChangeLog.txt index 19ac97f2..23ff380a 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -1,6 +1,7 @@ -o Version 2.10 (2016.07.??) +o Version 2.10 (2016.07.20) Add SHA-256 validation for downloaded files. You will now see an ✓ or ✗ in the log for relevant content Add support for O2Micro PCI-E card readers + Add compressed NTFS support for UEFI:NTFS Improve automatic closure of the Windows default format prompt Improve support for Ubuntu (silence a benign warning), Springdale (use the actual label) and Antergos (Syslinux version detection) Work around a Windows bug that can render a GPT disk inaccessible after cleanup (e.g. ChromeOS image) diff --git a/res/uefi/readme.txt b/res/uefi/readme.txt index a0456b2f..0c464c7d 100644 --- a/res/uefi/readme.txt +++ b/res/uefi/readme.txt @@ -3,14 +3,14 @@ Rufus for NTFS UEFI boot support. See https://github.com/pbatard/uefi-ntfs. This image, which you can mount as FAT filesystem or open in 7-zip, contains the following data: -o The NTFS UEFI drivers from efifs (https://github.com/pbatard/efifs) which were - compiled, with compression disabled, using Visual Studio 2015 Community Edition. - These are the \EFI\Rufus\ntfs_[ia32|x64|arm].efi files. +o The NTFS UEFI drivers from efifs (https://github.com/pbatard/efifs). + These are the \EFI\Rufus\ntfs_[ia32|x64|arm].efi files, which are binary + identical to the ones found at http://efi.akeo.ie o The UEFI:NTFS binaries (https://github.com/pbatard/uefi-ntfs), which were also - compiled using Visual Studio 2015 Community Edition. + compiled using Visual Studio 2015 Community Edition (with Clang/C2). These are the \EFI\Boot\boot[ia32|x64|arm].efi files. The FAT partition was created on Debian GNU/Linux using the following commands - dd if=/dev/zero of=uefi-ntfs.img bs=512 count=1024 + dd if=/dev/zero of=uefi-ntfs.img bs=512 count=512 mkfs.vfat -n UEFI_NTFS uefi-ntfs.img and then mounting the uefi-ntfs.img image and copying the relevant files. diff --git a/src/rufus.rc b/src/rufus.rc index fd85b4a2..653f0245 100644 --- a/src/rufus.rc +++ b/src/rufus.rc @@ -33,7 +33,7 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL IDD_DIALOG DIALOGEX 12, 12, 242, 376 STYLE DS_SETFONT | DS_MODALFRAME | DS_CENTER | WS_MINIMIZEBOX | WS_POPUP | WS_CAPTION | WS_SYSMENU EXSTYLE WS_EX_ACCEPTFILES -CAPTION "Rufus 2.10.972" +CAPTION "Rufus 2.10.973" FONT 8, "Segoe UI Symbol", 400, 0, 0x0 BEGIN LTEXT "Device",IDS_DEVICE_TXT,9,6,200,8 @@ -320,8 +320,8 @@ END // VS_VERSION_INFO VERSIONINFO - FILEVERSION 2,10,972,0 - PRODUCTVERSION 2,10,972,0 + FILEVERSION 2,10,973,0 + PRODUCTVERSION 2,10,973,0 FILEFLAGSMASK 0x3fL #ifdef _DEBUG FILEFLAGS 0x1L @@ -338,13 +338,13 @@ BEGIN BEGIN VALUE "CompanyName", "Akeo Consulting (http://akeo.ie)" VALUE "FileDescription", "Rufus" - VALUE "FileVersion", "2.10.972" + VALUE "FileVersion", "2.10.973" VALUE "InternalName", "Rufus" VALUE "LegalCopyright", "© 2011-2016 Pete Batard (GPL v3)" VALUE "LegalTrademarks", "http://www.gnu.org/copyleft/gpl.html" VALUE "OriginalFilename", "rufus.exe" VALUE "ProductName", "Rufus" - VALUE "ProductVersion", "2.10.972" + VALUE "ProductVersion", "2.10.973" END END BLOCK "VarFileInfo" diff --git a/src/syslinux/libfat/open.c b/src/syslinux/libfat/open.c index 4f0334d7..7281e03f 100644 --- a/src/syslinux/libfat/open.c +++ b/src/syslinux/libfat/open.c @@ -92,7 +92,7 @@ libfat_open(int (*readfunc) (intptr_t, void *, size_t, libfat_sector_t), } else goto barf; /* Impossibly many clusters */ - minfatsize = (minfatsize + LIBFAT_SECTOR_SIZE - 1) >> LIBFAT_SECTOR_SHIFT; + minfatsize = (minfatsize + LIBFAT_SECTOR_SIZE - 1) >> LIBFAT_SECTOR_SHIFT; if (minfatsize > fatsize) goto barf; /* The FATs don't fit */