delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1997/04/12/10:54:42

Message-Id: <199704121442.KAA10403@delorie.com>
From: Oberhumer Markus <k3040e4 AT c210 DOT edvz DOT uni-linz DOT ac DOT at>
Subject: rm patch
To: djgpp-workers AT delorie DOT com (djgpp-workers),
eliz AT is DOT elta DOT co DOT il (Eli Zaretskii)
Date: Sat, 12 Apr 1997 16:39:41 +0200 (METDST)
Return-Read-To: markus DOT oberhumer AT jk DOT uni-linz DOT ac DOT at
Mime-Version: 1.0

This patch fixes a problem with hidden files when using 'rm -rf dir'.

*** gnu\filutil3.13\src\rm.org	Mon Apr  7 18:37:06 1997
--- gnu\filutil3.13\src\rm.c	Thu Apr 10 22:38:06 1997
***************
*** 156,159 ****
--- 156,164 ----
      }
  
+ #ifdef MSDOS
+     if (ignore_missing_files || recursive)
+       __opendir_flags |= __OPENDIR_FIND_HIDDEN;
+ #endif
+ 
    if (show_version)
      {

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019