Timothy B. Terriberry wrote:
> Instead I've attached a patch that uses fgetpos/fsetpos. This is 
> totally untested (I haven't even checked it compiles), but the idea 
> should work.
MSDN says "The pos value is stored in an internal format and is intended 
for use only by *fgetpos* and *fsetpos*." 
(http://msdn.microsoft.com/en-us/library/70hdhh4t%28v=vs.80%29.aspx), so 
I don't think it's a good idea to use it this way even if tests 
suggested it works.

I'll write a test program tomorrow to try the fflush+_lseeki64 approach.

Another solution - although a bit ugly - might be to disable buffering 
on Windows using setvbuf.
_______________________________________________
flac-dev mailing list
flac-dev@xiph.org
http://lists.xiph.org/mailman/listinfo/flac-dev

Reply via email to