From 76ad59b7e826691e0eb19f04cb647e07cdbde76a Mon Sep 17 00:00:00 2001 From: Larry Hastings Date: Thu, 3 May 2012 00:30:07 -0700 Subject: Issue #14127: Add ns= parameter to utime, futimes, and lutimes. Removed futimens as it is now redundant. Changed shutil.copystat to use st_atime_ns and st_mtime_ns from os.stat and ns= parameter to utime--it once again preserves exact metadata on Linux! --- Python/pytime.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Python/pytime.c') diff --git a/Python/pytime.c b/Python/pytime.c index 0ffe799b32..eb5685b987 100644 --- a/Python/pytime.c +++ b/Python/pytime.c @@ -123,7 +123,7 @@ error_time_t_overflow(void) "timestamp out of range for platform time_t"); } -static time_t +time_t _PyLong_AsTime_t(PyObject *obj) { #if defined(HAVE_LONG_LONG) && SIZEOF_TIME_T == SIZEOF_LONG_LONG -- cgit v1.2.1