Gentoo Archives: gentoo-dev

From: Zac Medico <zmedico@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: mtime preservation
Date: Thu, 26 Nov 2009 21:56:42
Message-Id: 4B0EF94F.9000703@gentoo.org
In Reply to: [gentoo-dev] Re: mtime preservation by Duncan <1i5t5.duncan@cox.net>
1 Duncan wrote:
2 > David Leverton posted on Thu, 26 Nov 2009 12:35:53 +0000 as excerpted:
3 >
4 >> If we're not going to insist on preserving nanoseconds as far as
5 >> possible, then package managers should be required to explcitly clear
6 >> the nanoseconds part.
7 >
8 > While I'm not sure what it's going to do to install-times and thus
9 > whether it's practical, this /does/ at least in theory make quite some
10 > sense to me.
11
12 This seems like a pretty reasonable (and easy) thing to do. All that
13 we have to do is round the mtime value before it's passed into the
14 os.utime() call.
15 --
16 Thanks,
17 Zac