On Tue, Aug 18, 2015 at 11:52 AM, Ludovic Courtès <l...@gnu.org> wrote:
> "Thompson, David" <dthomps...@worcester.edu> skribis:
>
>> +(define (regular-file? file-name)
>> +  "Return #t if FILE-NAME is a regular file."
>> +  (eq? (stat:type (stat file-name)) 'regular))
>
> I see you moved this procedure to (gnu build file-systems), which is
> reasonable.

I did this to avoid a full rebuild.  A patch for core-updates could move it.

> I wonder if it should use ‘lstat’ instead of ‘stat’?

To follow symlinks or not?  I guess the answer is "no".  I can change
it to lstat.

- Dave

Reply via email to