From 446e4318fa79788e09299d5953b5dd428953d14b Mon Sep 17 00:00:00 2001 From: Lasse Collin Date: Thu, 30 Jun 2016 20:27:36 +0300 Subject: xz: Fix copying of timestamps on Windows. xz used to call utime() on Windows, but its result gets lost on close(). Using _futime() seems to work. Thanks to Martok for reporting the bug: http://www.mail-archive.com/xz-devel@tukaani.org/msg00261.html --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 3df43486..81abce58 100644 --- a/configure.ac +++ b/configure.ac @@ -672,7 +672,7 @@ AC_C_BIGENDIAN gl_GETOPT # Find the best function to set timestamps. -AC_CHECK_FUNCS([futimens futimes futimesat utimes utime], [break]) +AC_CHECK_FUNCS([futimens futimes futimesat utimes _futime utime], [break]) # This is nice to have but not mandatory. AC_CHECK_FUNCS([posix_fadvise]) -- cgit v1.2.3