diff options
author | Ulrich Drepper <drepper@redhat.com> | 2010-04-04 02:08:37 -0700 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2010-04-04 02:08:37 -0700 |
commit | cb652f30b0aa17e65803962305e052e509a5316d (patch) | |
tree | c5c4f6be9a4d948ee7fb3d1c83f02c414eb0ca35 /sysdeps/unix | |
parent | 952df0afdca2333e9fae7d62a36077c348d2df93 (diff) | |
download | glibc-cb652f30b0aa17e65803962305e052e509a5316d.tar.gz glibc-cb652f30b0aa17e65803962305e052e509a5316d.tar.xz glibc-cb652f30b0aa17e65803962305e052e509a5316d.zip |
Handle POSIX-compliant errno value of unlink in remove.
Diffstat (limited to 'sysdeps/unix')
-rw-r--r-- | sysdeps/unix/sysv/linux/remove.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdeps/unix/sysv/linux/remove.c b/sysdeps/unix/sysv/linux/remove.c new file mode 100644 index 0000000000..4abf34a73d --- /dev/null +++ b/sysdeps/unix/sysv/linux/remove.c @@ -0,0 +1,2 @@ +#define IS_NO_DIRECTORY_ERROR errno != EISDIR +#include <sysdeps/posix/remove.c> |