summaryrefslogtreecommitdiff
path: root/src/rm.c
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1994-10-02 05:43:03 +0000
committerJim Meyering <jim@meyering.net>1994-10-02 05:43:03 +0000
commitf1ce35a10cd920ec7f3e0aeb99ca39ab665f5783 (patch)
treecef7664c3bbf19e50498589c896b1f31c346ff95 /src/rm.c
parentc543c4b10c69fba6a27cdd3baace3f677cc91b29 (diff)
downloadcoreutils-f1ce35a10cd920ec7f3e0aeb99ca39ab665f5783.tar.xz
merge with 3.9h
Diffstat (limited to 'src/rm.c')
-rw-r--r--src/rm.c4
1 files changed, 2 insertions, 2 deletions
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? ",