Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: files module: safe rm



> 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