[ovs-dev] [PATCH] ovsdb-server: Truncate file for Windows.

Ben Pfaff blp at nicira.com
Tue Mar 11 22:31:57 UTC 2014


On Mon, Mar 10, 2014 at 10:56:35AM -0700, Gurucharan Shetty wrote:
> There is no ftruncate() in visual studio. There is a _chsize_s()
> which has a similar functionality.
> 
> Signed-off-by: Gurucharan Shetty <gshetty at nicira.com>

This implementation of ftruncate() does not return anything if
_chsize_s() succeeds.  (It should return 0.)



More information about the dev mailing list