From: Zefram <zefram@dcs.warwick.ac.uk>
To: hzoli@cs.elte.hu (Zoltan Hidvegi)
Cc: zefram@dcs.warwick.ac.uk, zsh-workers@math.gatech.edu
Subject: Re: new module
Date: Fri, 27 Dec 1996 10:59:16 +0000 (GMT) [thread overview]
Message-ID: <6211.199612271059@stone.dcs.warwick.ac.uk> (raw)
In-Reply-To: <199612250228.DAA00980@hzoli.ppp.cs.elte.hu> 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
next prev parent reply other threads:[~1996-12-27 10:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1996-12-23 20:01 Zefram
1996-12-24 2:50 ` Zoltan Hidvegi
1996-12-25 2:28 ` Zoltan Hidvegi
1996-12-27 10:59 ` Zefram [this message]
1996-12-27 23:26 ` Zoltan Hidvegi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=6211.199612271059@stone.dcs.warwick.ac.uk \
--to=zefram@dcs.warwick.ac.uk \
--cc=hzoli@cs.elte.hu \
--cc=zsh-workers@math.gatech.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).