summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2011-10-24 10:27:22 +0200
committerJim Meyering <meyering@redhat.com>2011-10-24 10:46:42 +0200
commitf8ae6440eb8f943fd1f040d039753851824512d3 (patch)
tree05cb9f03621bc24789c880f5d1e0b069c4983953
parent2ade806cf5740fa0ef0f7211699e5b4e7ce90464 (diff)
downloadcoreutils-f8ae6440eb8f943fd1f040d039753851824512d3.tar.xz
rm: update gnulib to get an fts fix for Cygwin+NWFS/NcFsd file systems
* NEWS (Bug fixes): Mention it. As far as we know, this fix affects only Cygwin with NWFS or NcFsd file systems. See these: http://git.sv.gnu.org/cgit/gnulib.git/commit/?id=71f13422f3e634 http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/28739 http://cygwin.com/ml/cygwin/2011-10/msg00365.html * src/system.h (ENODATA): Remove fall-back definition, now that gnulib provides one. Caught by the sc_prohibit_always-defined_macros syntax-check rule. Also remove now-irrelevant "Don't use bcopy..." comment.
-rw-r--r--NEWS4
m---------gnulib0
-rw-r--r--src/system.h11
3 files changed, 4 insertions, 11 deletions
diff --git a/NEWS b/NEWS
index 4d210b537..b73057aa8 100644
--- a/NEWS
+++ b/NEWS
@@ -4,6 +4,10 @@ GNU coreutils NEWS -*- outline -*-
** Bug fixes
+ rm -rf DIR would fail with "Device or resource busy" on Cygwin with NWFS
+ and NcFsd file systems. This did not affect Unix/Linux-based kernels.
+ [bug introduced in coreutils-7.0, when rm began using fts]
+
tac no longer fails to handle two or more non-seekable inputs
[bug introduced in coreutils-5.3.0]
diff --git a/gnulib b/gnulib
-Subproject 6a4c64ce4a59bd9589e63fb5ee480765d356f8c
+Subproject 71f13422f3e6345933513607255f1f7a7526e93
diff --git a/src/system.h b/src/system.h
index 18ac0cc9f..19421a9dd 100644
--- a/src/system.h
+++ b/src/system.h
@@ -74,19 +74,8 @@ you must include <sys/types.h> before including this file
# define makedev(maj, min) mkdev (maj, min)
#endif
-/* Don't use bcopy! Use memmove if source and destination may overlap,
- memcpy otherwise. */
-
#include <string.h>
-
#include <errno.h>
-
-/* Some systems don't define this; POSIX mentions it but says it is
- obsolete, so gnulib does not provide it either. */
-#ifndef ENODATA
-# define ENODATA (-1)
-#endif
-
#include <stdbool.h>
#include <stdlib.h>
#include "version.h"