bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] High resolution file timestamp support for Mac OSX


From: Troy Runkel
Subject: [PATCH] High resolution file timestamp support for Mac OSX
Date: Wed, 12 Oct 2011 19:32:46 +0000

The GNU make configure script currently doesn’t enable high resolution file timestamp support for the Mac OSX platform.  However, nanosecond file timestamps are available, they’re just stored in a different location in the ‘struct stat’ structure used by the stat() API call (st_mtimespec.tv_nsec instead of the usual st_mtim.tv_nsec).  This patch updates configure to detect the availability of high resolution file timestamps for Mac OSX and use them within GNU make.  The patch is based on the latest GNU make sources from the CVS repository.

 

--Troy Runkel

 

Attachment: macosx_hires_timestamp_cvs.diff
Description: macosx_hires_timestamp_cvs.diff


reply via email to

[Prev in Thread] Current Thread [Next in Thread]