[Vm-dev] [commit][3471] Integrate Monty's support for the fsync primitive.

Nicolai Hess nicolaihess at web.de
Mon Oct 19 20:34:09 UTC 2015


> +sqInt sqFileSync(SQFile *f) {
> +  /*
> +   * sqFileFlush uses FlushFileBuffers which is equivalent to fsync on
> windows
> +   * as long as WriteFile is used directly and no other buffering is done.
> +   */
> +  return sqFileFlush(SQFile *f);
> +}
> +
>
>
this change is wrong, it should be:

sqInt sqFileSync(SQFile *f) {
  /*
  * sqFileFlush uses FlushFileBuffers which is equivalent to fsync on
windows
  * as long as WriteFile is used directly and no other buffering is done.
  */
  return sqFileFlush(f);
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20151019/6d890e2f/attachment.htm


More information about the Vm-dev mailing list