[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] 0aa655: Replace fsync by FlushFileBuffers for MSVC

tim Rowledge tim at rowledge.org
Sun Jul 24 18:20:29 UTC 2016


HI Nicolas- 
> On 24-07-2016, at 10:13 AM, GitHub <noreply at github.com> wrote:
> 
>  Branch: refs/heads/Cog
>  Home:   https://github.com/OpenSmalltalk/opensmalltalk-vm
>  Commit: 0aa65563f90b6f8f83a8126e37647bca4fda2ba5
>      https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/0aa65563f90b6f8f83a8126e37647bca4fda2ba5
>  Author: nicolas-cellier-aka-nice <nicolas.cellier.aka.nice at gmail.com>
>  Date:   2016-07-24 (Sun, 24 Jul 2016)
> 
>  Changed paths:
>    M platforms/Cross/plugins/FilePlugin/sqFilePluginBasicPrims.c
> 
>  Log Message:
>  -----------
>  Replace fsync by FlushFileBuffers for MSVC

I think Windows doesn’t actually use the Cross/blah-blah/sqFilePluginBasicPrims code? Or at least, I’m pretty sure I remember  discovering that it didn’t some considerable time ago.
Certainly the copies of the files I see on my fairly fresh update suggest I’m remembering correctly; note how /vm/platforms/win32/plugins/FilePlugin/sqWin32FilePrims.c implements sqFileTruncate/sqImageFileSeek/etc,etc.


tim
--
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
Useful random insult:- Moves his lips to pretend he's reading.




More information about the Vm-dev mailing list