Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: files module: safe rm
- X-seq: zsh-workers 2729
- From: Zoltan Hidvegi <hzoli@xxxxxxxxxx>
- To: hzoli@xxxxxxxxxx (Zoltan Hidvegi)
- Subject: Re: files module: safe rm
- Date: Sun, 5 Jan 1997 02:03:14 +0100 (MET)
- Cc: zsh-workers@xxxxxxxxxxxxxxx
- In-reply-to: <199701050012.BAA01817@xxxxxxxxxxxxxxxxxxxx> from Zoltan Hidvegi at "Jan 5, 97 01:12:22 am"
> This patch adds the -s option to rm which will not follow symbolic links.
> It also adds the necessary checks after chdir("..");
I forgot to include the patch to zsh.h, apply this after my previous patch.
Zoltan
*** Src/zsh.h 1997/01/02 16:28:02 3.1.1.9
--- Src/zsh.h 1997/01/03 01:04:48
***************
*** 625,630 ****
--- 625,637 ----
Redir rd;
};
+ struct dirsav {
+ int dirfd, level;
+ char *dirname;
+ dev_t dev;
+ ino_t ino;
+ };
+
/*******************************/
/* Definitions for Hash Tables */
/*******************************/
Messages sorted by:
Reverse Date,
Date,
Thread,
Author