On Fri, Jan 16, 2009 at 11:03 AM, Alaric Snell-Pym
<ala...@snell-pym.org.uk> 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


_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to