chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] S_IFMT constants


From: felix winkelmann
Subject: Re: [Chicken-users] S_IFMT constants
Date: Fri, 16 Jan 2009 11:45:22 +0100

On Fri, Jan 16, 2009 at 11:03 AM, Alaric Snell-Pym
<address@hidden> wrote:
> Peter raised an interesting point on IRC - doesn't stat-regular? et al
> do this? The stat-*? functions all take a file name, call stat, then
> examine the mode of the result to see if it has the specified type.
>
> Which makes them a bit redundant with directory? et al.

elf added them, I don't know why.

> Is anybody actually using stat-*?, or should we change them to operate
> on file modes?

They should go.

>
> Also, I have developed a few more requests for the posix unit needed
> to implement Ugarit, my backup system, which I shall implement myself
> and duly submit code for inclusion if people approve, and nobody
> points out already exist somewhere:
>
> 1) utimes and lutimes, which set the mtime and atime on things (with
> the l- version operating on, rather than through, symlinks)
> 2) similarly, l-prefixed versions of chmod and chown, so I can set the
> attributes of symlinks
> 3) mknod, so I can restore character and block device files!
>

Everything should be put into eggs. At some stage we have to
strip down the posixunix and put everything not needed for
the core system into eggs.

May the fold be with you.


cheers,
felix




reply via email to

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