Author: Stan Eisenstat
Subject: Re: [Cs323] lstat vs stat?
Date: Sunday, 06 Sep 2020, 09:16:46
> Message Posted By: Unknown > > How do we know whether to use lstat() or stat() for the -newer flag? Is > there a way to know if it is a file is a symbolic link? Unless the -L flag is specified, for -newer the relevant time is that when the symbolic link was created, not that when the target of the link was. Thus fiend uses lstat(), not stat() in that case. --Stan-PREV INDEX NEXT