chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] small C_file_info request


From: felix winkelmann
Subject: Re: [Chicken-users] small C_file_info request
Date: Tue, 25 Jan 2005 10:58:22 +0100

On Mon, 24 Jan 2005 14:56:56 -0600 (CST), William Annis
<address@hidden> wrote:
> 
> I've just spent a little time digging around posix.scm and runtime.c.
> You already have directory? and fifo? checks.  Could you add
> symbolic-link? and regular-file? to a future version?  I don't
> understand the motivation for the C_file_info approach you've used, so
> I hesitate to poke at it myself just now.
> 

The current darcs repository now features:

[posix unit]

(regular-file? FILENAME)
(symbolic-link? FILENAME)

and file-stat accepts an optional 2nd arg that specifies whether
symbolic links should be followed.


cheers,
felix




reply via email to

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