1
1
Fork 0
mirror of https://github.com/pbatard/rufus.git synced 2024-08-14 23:57:05 +00:00

[misc] fix WDK fseek errors

* Closes #241
* Also update the ChangeLog
This commit is contained in:
Pete Batard 2014-02-21 18:42:28 +00:00
parent 31d11c6c1f
commit e530065099
3 changed files with 12 additions and 9 deletions

View file

@ -1,7 +1,9 @@
o Version 1.4.4 (2013.02.??)
Add *uncompressed* DD Image support (FreeBSD, FreeNAS, etc.)
Add *uncompressed* Disk Image support (FreeBSD, FreeNAS, etc.)
Add right-to-left language support
Add NTFS Compression support (unofficial)
Add an alert when multiple partitions are about to be erased
Add (unofficial) NTFS Compression support
Ignore failure on ISO autorun.inf creation, to keep dumb security applications happy
Improve hotplug detection
Improve Syslinux v5+ support (requires an internet connection to download extra files)
Fix support for latest gparted, ArchLinux, and other Syslinux v5+ based ISOs

View file

@ -47,7 +47,8 @@
#include <stdio.h>
#include <io.h>
static __inline int fseeko64(FILE *stream, __int64 offset, int origin) {
return (lseek64(_fileno(stream), offset, origin) == -1L)?-1:0;
fflush(stream); /* VERY IMPORTANT! */
return (lseek64(_fileno(stream), offset, origin) == -1LL)?-1:0;
}
#else
#define fseeko64 _fseeki64

View file

@ -32,7 +32,7 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
IDD_DIALOG DIALOGEX 12, 12, 206, 329
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Rufus 1.4.4.418"
CAPTION "Rufus 1.4.4.419"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
DEFPUSHBUTTON "Start",IDC_START,94,291,50,14
@ -165,7 +165,7 @@ END
RTL_IDD_DIALOG DIALOGEX 12, 12, 206, 329
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU
EXSTYLE WS_EX_RTLREADING | WS_EX_APPWINDOW | WS_EX_LAYOUTRTL
CAPTION "Rufus 1.4.4.418"
CAPTION "Rufus 1.4.4.419"
FONT 8, "MS Shell Dlg", 400, 0, 0x1
BEGIN
DEFPUSHBUTTON "Start",IDC_START,94,291,50,14
@ -427,8 +427,8 @@ END
//
VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,4,4,418
PRODUCTVERSION 1,4,4,418
FILEVERSION 1,4,4,419
PRODUCTVERSION 1,4,4,419
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
@ -445,13 +445,13 @@ BEGIN
BEGIN
VALUE "CompanyName", "Akeo Consulting (http://akeo.ie)"
VALUE "FileDescription", "Rufus"
VALUE "FileVersion", "1.4.4.418"
VALUE "FileVersion", "1.4.4.419"
VALUE "InternalName", "Rufus"
VALUE "LegalCopyright", "© 2011-2014 Pete Batard (GPL v3)"
VALUE "LegalTrademarks", "http://www.gnu.org/copyleft/gpl.html"
VALUE "OriginalFilename", "rufus.exe"
VALUE "ProductName", "Rufus"
VALUE "ProductVersion", "1.4.4.418"
VALUE "ProductVersion", "1.4.4.419"
END
END
BLOCK "VarFileInfo"