guix-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] build: file-systems: Allow for bind mounting regular files.


From: Ludovic Courtès
Subject: Re: [PATCH] build: file-systems: Allow for bind mounting regular files.
Date: Tue, 18 Aug 2015 17:52:24 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

"Thompson, David" <address@hidden> 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 wonder if it should use ‘lstat’ instead of ‘stat’?

Ludo’.



reply via email to

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