changeset 109691:fc06750bcd9d

* dired.c (DIRENTRY_NONEMPTY) [cygwin]: Use d_ino instead of the MSDOS definition.
author Ken Brown <kbrown@cornell.edu>
date Tue, 27 Jul 2010 07:10:48 -0400
parents 3241579568b9
children 58882317bf04
files src/ChangeLog src/dired.c
diffstat 2 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Tue Jul 27 03:37:23 2010 +0200
+++ b/src/ChangeLog	Tue Jul 27 07:10:48 2010 -0400
@@ -1,3 +1,8 @@
+2010-07-27  Ken Brown  <kbrown@cornell.edu>
+
+	* dired.c (DIRENTRY_NONEMPTY) [cygwin]: Use d_ino instead of
+	the MSDOS definition.
+
 2010-07-25  Christoph Scholtes  <cschol2112@gmail.com>
 
 	* minibuf.c (Fread_buffer): Doc fix (bug#6528).
--- a/src/dired.c	Tue Jul 27 03:37:23 2010 +0200
+++ b/src/dired.c	Tue Jul 27 07:10:48 2010 -0400
@@ -72,8 +72,7 @@
 #endif /* not MSDOS */
 #endif /* not SYSV_SYSTEM_DIR */
 
-/* Some versions of Cygwin don't have d_ino in `struct dirent'.  */
-#if defined(MSDOS) || defined(__CYGWIN__)
+#ifdef MSDOS
 #define DIRENTRY_NONEMPTY(p) ((p)->d_name[0] != 0)
 #else
 #define DIRENTRY_NONEMPTY(p) ((p)->d_ino)