changeset 3717:6bade5a5afc0

[xemacs-hg @ 2006-12-02 17:03:43 by aidan] Revert missing d_ino filed from `struct dirent' for Cygwin.
author aidan
date Sat, 02 Dec 2006 17:03:44 +0000
parents 4c96f179c481
children c8203e464388
files src/ChangeLog src/sysdir.h
diffstat 2 files changed, 10 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Fri Dec 01 22:51:06 2006 +0000
+++ b/src/ChangeLog	Sat Dec 02 17:03:44 2006 +0000
@@ -1,3 +1,13 @@
+2006-12-02  Aidan Kehoe  <kehoea@parhasard.net>
+
+	* ChangeLog:
+	* sysdir.h (DIRENTRY_NONEMPTY):
+
+2006-11-29  Dr. Volker Zell  <Dr.Volker.Zell@oracle.com>
+
+	* sysdir.h: Revert workaround missing d_ino field from 'struct
+	dirent' for Cygwin as it's back in again.
+
 2006-11-29  Aidan Kehoe  <kehoea@parhasard.net>
 
 	* mule-charset.c (Fset_charset_registries):
--- a/src/sysdir.h	Fri Dec 01 22:51:06 2006 +0000
+++ b/src/sysdir.h	Sat Dec 02 17:03:44 2006 +0000
@@ -62,11 +62,7 @@
    Since applying strlen to the name always works, we'll just do that.  */
 #define NAMLEN(p) strlen (p->d_name)
 
-#ifdef __CYGWIN__
-# define DIRENTRY_NONEMPTY(p) ((p)->d_name[0] != '\0')
-#else
 # define DIRENTRY_NONEMPTY(p) ((p)->d_ino)
-#endif
 
 /* encapsulation: directory calls */