Commit 9f8c08a7 authored by Ken Brown's avatar Ken Brown
Browse files

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

parent 4ce5a4cc
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).
......
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment