From d4ed0f84d842a213791a8bd9963adbbc00b685e8 Mon Sep 17 00:00:00 2001 From: John Cupitt Date: Mon, 11 Sep 2017 11:21:28 +0100 Subject: [PATCH] set all file times why ... why is this necessary --- libvips/iofuncs/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libvips/iofuncs/util.c b/libvips/iofuncs/util.c index 4a0cc4e9..e22dca85 100644 --- a/libvips/iofuncs/util.c +++ b/libvips/iofuncs/util.c @@ -560,7 +560,7 @@ vips__set_create_time( int fd ) return; GetSystemTime( &st ); SystemTimeToFileTime( &st, &ft ); - SetFileTime( handle, &ft, NULL, NULL ); + SetFileTime( handle, &ft, &ft, &ft ); } #endif /*OS_WIN32*/