# HG changeset patch # User aidan # Date 1165079024 0 # Node ID 6bade5a5afc09300b16af40a58dcc0cbad316089 # Parent 4c96f179c48109a7302298a1ba26fa827c3e52c7 [xemacs-hg @ 2006-12-02 17:03:43 by aidan] Revert missing d_ino filed from `struct dirent' for Cygwin. diff -r 4c96f179c481 -r 6bade5a5afc0 src/ChangeLog --- 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 + + * ChangeLog: + * sysdir.h (DIRENTRY_NONEMPTY): + +2006-11-29 Dr. Volker Zell + + * sysdir.h: Revert workaround missing d_ino field from 'struct + dirent' for Cygwin as it's back in again. + 2006-11-29 Aidan Kehoe * mule-charset.c (Fset_charset_registries): diff -r 4c96f179c481 -r 6bade5a5afc0 src/sysdir.h --- 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 */