* win32 can flush it's file buffers (FlushFileBuffers()) * SetFilePointer knows about whence, win32 constants (values, not names) are the same as in linux.
* win32 can flush it's file buffers (FlushFileBuffers())
* SetFilePointer knows about whence, win32 constants (values, not names) are the same as in linux.

remarks:
FlushFileBuffers doesn't work for console handles, ms help file says:

Windows NT: The function fails if hFile is a handle to console output. That is because console output is not buffered.
The function returns FALSE, and GetLastError returns ERROR_INVALID_HANDLE.

Windows 9x: The function does nothing if hFile is a handle to console output. That is because console output is not buffered.
The function returns TRUE, but it does nothing.

well done microsoft...but it doesn't sound like a big deal. so calling the function should be just fine.

(Courtesy of Daniel Ritz <daniel_ritz@gmx.net>)


git-svn-id: 6e74a02f85675cec270f5d931b0f6998666294a3@1942 d31e2699-5ff4-0310-a27c-f18f2fbe73fe

gagern/parrot,tkob/parrot,FROGGS/parrot,youprofit/parrot,fernandobrito/parrot,fernandobrito/parrot,gagern/parrot,FROGGS/parrot,fernandobrito/parrot,tewk/parrot-select,fernandobrito/parrot,FROGGS/parrot,youprofit/parrot,fernandobrito/parrot,FROGGS/parrot,gagern/parrot,gitster/parrot,gagern/parrot,tewk/parrot-select,gitster/parrot,tkob/parrot,gitster/parrot,gitster/parrot,youprofit/parrot,tewk/parrot-select,tewk/parrot-select,gagern/parrot,tkob/parrot,tewk/parrot-select,tkob/parrot,youprofit/parrot,fernandobrito/parrot,tkob/parrot,FROGGS/parrot,tkob/parrot,FROGGS/parrot,tkob/parrot,parrot/parrot,tkob/parrot,parrot/parrot,youprofit/parrot,parrot/parrot,gagern/parrot,gitster/parrot,gagern/parrot,fernandobrito/parrot,youprofit/parrot,tewk/parrot-select,youprofit/parrot,FROGGS/parrot,youprofit/parrot,parrot/parrot,tewk/parrot-select,gitster/parrot,parrot/parrot,gitster/parrot,FROGGS/parrot