summaryrefslogtreecommitdiff
path: root/gl/modules/mbsalign
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2012-09-19 09:35:12 +0200
committerJim Meyering <meyering@redhat.com>2012-09-19 09:44:22 +0200
commitba034fc449abd2b72ad52b3865c29fd98ea3de76 (patch)
tree4683fa21cff898e7a95e5bc547005129dd17f8c4 /gl/modules/mbsalign
parent0bb0c2c00ee75bfb96413d9f166e097be6986831 (diff)
downloadcoreutils-ba034fc449abd2b72ad52b3865c29fd98ea3de76.tar.xz
rm: be even more careful when using a replacement errno value
* src/remove.c (excise): The change in commit v8.19-107-gccbd3f3 made the "rm -rf D" (for unreadable dir, D) diagnostic worse on Solaris 10: -rm: cannot remove 'D': Permission denied +rm: cannot remove 'D': File exists That happened because unlinkat would fail with EEXIST there, given an unreadable directory, which made the two tests, tests/rm/unread2 and tests/rm/unreadable fail. Accommodate the EEXIST case, too.
Diffstat (limited to 'gl/modules/mbsalign')
0 files changed, 0 insertions, 0 deletions