From: Karsten Blees Date: Tue, 23 Oct 2018 10:23:21 +0000 (-0700) Subject: mingw: replace MSVCRT's fstat() with a Win32-based implementation X-Git-Tag: v2.20.0-rc0~66^2~1 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/d75e6973539f1f99561ae6f42a81f024497e3dfa?hp=d75e6973539f1f99561ae6f42a81f024497e3dfa mingw: replace MSVCRT's fstat() with a Win32-based implementation fstat() is the only stat-related CRT function for which we don't have a full replacement yet (and thus the only reason to stick with MSVCRT's 'struct stat' definition). Fully implement fstat(), in preparation of implementing a POSIX 2013 compatible 'struct stat' with nanosecond-precision file times. This allows us also to implement some clever code to handle pipes and character devices in our own way. Signed-off-by: Karsten Blees Signed-off-by: Johannes Schindelin Signed-off-by: Junio C Hamano ---