Changes by: antona
Update of /cvsroot/linux-ntfs/ntfsprogs/libntfs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15151
Modified Files:
win32_io.c
Log Message:
Ooops. Forgot to actually use our fnSetFilePointerEx() instead of
SetFilePointerEx() directly...
Index: win32_io.c
===================================================================
RCS file: /cvsroot/linux-ntfs/ntfsprogs/libntfs/win32_io.c,v
retrieving revision 1.32
retrieving revision 1.33
diff -u -p -r1.32 -r1.33
--- win32_io.c 3 Jun 2005 10:27:32 -0000 1.32
+++ win32_io.c 3 Jun 2005 10:33:35 -0000 1.33
@@ -866,7 +866,7 @@ static s64 ntfs_device_win32_abs_seek(st
li.QuadPart &= ~(s64)(NTFS_BLOCK_SIZE - 1);
/* Only seek if we are not there already. */
if (li.QuadPart != fd->real_pos) {
- if (!SetFilePointerEx(handle, li, NULL, FILE_BEGIN)) {
+ if (!fnSetFilePointerEx(handle, li, NULL, FILE_BEGIN)) {
errno = ntfs_w32error_to_errno(GetLastError());
Dputs("Error: SetFilePointer failed.");
return -1;
|