[OpenSmalltalk/opensmalltalk-vm] 28152d: Add fflush to sqFileTruncate to make FileHandleTes...

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[OpenSmalltalk/opensmalltalk-vm] 28152d: Add fflush to sqFileTruncate to make FileHandleTes...

Eliot Miranda-3
 
  Branch: refs/heads/Cog
  Home:   https://github.com/OpenSmalltalk/opensmalltalk-vm
  Commit: 28152db474330cd7f3cf76381ce18b7e50f07539
      https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/28152db474330cd7f3cf76381ce18b7e50f07539
  Author: Markus Fritsche <[hidden email]>
  Date:   2018-07-09 (Mon, 09 Jul 2018)

  Changed paths:
    M platforms/Cross/plugins/FilePlugin/sqFilePluginBasicPrims.c

  Log Message:
  -----------
  Add fflush to sqFileTruncate to make FileHandleTest green on (my) 64 bit platform


  Commit: 8085115bf8c75b6815d81854002f2f4e521550cc
      https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/8085115bf8c75b6815d81854002f2f4e521550cc
  Author: akgrant43 <[hidden email]>
  Date:   2018-07-22 (Sun, 22 Jul 2018)

  Changed paths:
    M platforms/Cross/plugins/FilePlugin/sqFilePluginBasicPrims.c

  Log Message:
  -----------
  Merge pull request #271 from marfrit/Cog

Add fflush to sqFileTruncate.

This is required since FILE* data structures can cache data, and a subsequent access by fd (file descriptor) may not see the latest contents.


Compare: https://github.com/OpenSmalltalk/opensmalltalk-vm/compare/97b799c62028...8085115bf8c7
      **NOTE:** This service been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.