Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: new module
- X-seq: zsh-workers 2642
- From: Zefram <zefram@xxxxxxxxxxxxxxxxx>
- To: hzoli@xxxxxxxxxx (Zoltan Hidvegi)
- Subject: Re: new module
- Date: Fri, 27 Dec 1996 10:59:16 +0000 (GMT)
- Cc: zefram@xxxxxxxxxxxxxxxxx, zsh-workers@xxxxxxxxxxxxxxx
- In-reply-to: <199612250228.DAA00980@xxxxxxxxxxxxxxxxxxxx> from "Zoltan Hidvegi" at Dec 25, 96 03:28:12 am
Zoltan Hidvegi wrote:
>There are two problems with this code. First it cannot remove a directory
>hierarchy if it has too deep subdirectories. That's quite bad when you use
>it to clean up directories. A user who wants to save his files from
>automatic deletion can hide it deeply in a subdirectory.
True. This ought to be avoided.
>Btw. I've just noticed that rm -r in files.c uses stat() instead of lstat()
>hence it follows symlinks happily :-(.
Oops. That was not how I intended it. I did consider that particular
problem, and other related cases, and deliberately chose lstat() over
stat() in several places. This I think needs to be fixed immediately.
I'll fix the other problems after the next beta, unless of course you
get to them first.
-zefram
Messages sorted by:
Reverse Date,
Date,
Thread,
Author