1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-22 18:35:09 +00:00

* dired.c (DIRENTRY_NONEMPTY) [cygwin]: Use d_ino instead of the MSDOS definition.

This commit is contained in:
Ken Brown 2010-07-27 07:10:48 -04:00
parent 4ce5a4ccd4
commit 9f8c08a717
2 changed files with 6 additions and 2 deletions

View File

@ -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).

View File

@ -72,8 +72,7 @@ extern struct direct *readdir ();
#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)