Gentoo Archives: gentoo-user

From: Stroller <stroller@××××××××××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] detox'ing files by keeping their time stamp?
Date: Mon, 19 Feb 2018 10:44:01
Message-Id: 9E6FEE51-296B-44AA-93C1-15597D016B3D@stellar.eclipse.co.uk
In Reply to: Re: [gentoo-user] detox'ing files by keeping their time stamp? by Stroller
1 > On 18 Feb 2018, at 11:38, Stroller <stroller@××××××××××××××××××.uk> wrote:
2 >>
3 >> With the tool 'detox' those filenames could be fixed.
4 >>
5 >> But detox changes the time stamp of the files, which
6 >> filenames are altered (not all files, which are examined).
7 >>
8 >> Is there a way to either get detox not to alter the time stamp
9 >
10 > …
11 > It should be trivial to patch detox to do this itself.
12
13
14 BTW: `ebuild /usr/portage/app-misc/detox/detox-1.2.0-r3.ebuild unpack`
15
16 The function parse_file in file.c seems to be what does the work.
17
18 Use the utime systemcall? https://linux.die.net/man/2/utime
19
20 Stroller.