Alexandre Julliard <julli...@winehq.org> wrote:

> > +        if (offset && offset->QuadPart == (LONGLONG)-1 /* 
> > FILE_WRITE_TO_END_OF_FILE */)
> > +            offset->QuadPart = lseek( unix_handle, 0, SEEK_END );
> > +
> 
> This looks very wrong, offset belongs to the caller.

Of course you are correct, thanks.

-- 
Dmitry.


Reply via email to