From f1ce35a10cd920ec7f3e0aeb99ca39ab665f5783 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 2 Oct 1994 05:43:03 +0000 Subject: merge with 3.9h --- src/rm.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/rm.c') diff --git a/src/rm.c b/src/rm.c index 5ff703cba..cd5dd2050 100644 --- a/src/rm.c +++ b/src/rm.c @@ -1,5 +1,5 @@ /* `rm' file deletion utility for GNU. - Copyright (C) 1988, 1990, 1991 Free Software Foundation, Inc. + Copyright (C) 1988, 1990, 1991, 1994 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -270,7 +270,7 @@ remove_dir (statp) } if (!ignore_missing_files && (interactive || stdin_tty) - && eaccess_stat (statp, W_OK)) + && eaccess_stat (statp, W_OK, pathname)) { fprintf (stderr, "%s: descend directory `%s', overriding mode %04o? ", -- cgit v1.2.3-70-g09d2