Commit e81bf3f3 authored by Bill Medland's avatar Bill Medland Committed by Alexandre Julliard

SetFilePointer correction; return ERROR_NEGATIVE_SEEK (broken by the

64 bit file access enhancement).
parent 87f48fcc
......@@ -354,7 +354,7 @@ static int set_file_pointer( handle_t handle, unsigned int *low, int *high, int
/* also check EPERM due to SuSE7 2.2.16 lseek() EPERM kernel bug */
if (((errno == EINVAL) || (errno == EPERM))
&& (whence != SEEK_SET) && (*low < 0))
&& (whence != SEEK_SET) && (*high < 0))
set_error( 0xc0010000 | ERROR_NEGATIVE_SEEK /* FIXME */ );
else
file_set_error();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment