[Top][All Lists]

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

Re: auto-update of Info dir file?

From: Stefan Monnier
Subject: Re: auto-update of Info dir file?
Date: Tue, 16 May 2006 14:44:39 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

>> It's probably OK if we only do the check when the mtime of the parent dir is
>> more recent than the mtime of the dir file (and only under Unix, of course,
>> since this presumes POSIXy semantics).

> Is it indeed guaranteed that the mtime of the directory is always
> _after_ the last file modified in that directory?

No.  POSIX only says that the mtime of the dir reflects the last time a file
was added/removed from the directory, which is pretty much exactly what we
need here.  Lucky for us: if updating the dir file would cause the dir's
mtime stamp to be changed would lead us to lalaland.


reply via email to

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