[re-adding the coreutils list]

On 08/06/2010 06:56 PM, Peng Yu wrote:
> On Fri, Aug 6, 2010 at 5:12 PM, Eric Blake <ebl...@redhat.com> wrote:
>> On 08/06/2010 04:09 PM, Eric Blake wrote:
>>> On 08/06/2010 03:50 PM, Peng Yu wrote:
>>>> Hi,
>>>>
>>>> It seems that the 'change' time is not changed to yesterday. Could
>>>> anybody let me know how to change the 'change' time?
>>
>> Just out of curiosity, why do you think you need to change ctime in the
>> first place?  Maybe by asking the bigger picture question of what you
>> are really trying to do, we might be able to give you a better approach
>> to actually doing it.
> 
> The "bigger" question is not really relevant to coreutiles. I had a
> Makefile that runs forever. I wanted to debug it. So I need to change
> the time. But I'm not sure which time GNU make use so I want to try to
> change all three times.

Maybe not relevant to coreutils, but including the list will help us
know that the issue has come to a resolution.  Make uses mtime (not
ctime) for timestamp comparisons.  Meanwhile, there is a project named
remake that provides an easier way to debug GNU make behavior over a
given makefile, by single stepping through commands and dependencies.

> 
> Anyway, the Makefile problem has been fixed. And it is good to know
> that ctime can not be faked.
> 

-- 
Eric Blake   ebl...@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to