* dired.c (DIRENTRY_NONEMPTY) [cygwin]: Use d_ino instead of the MSDOS definition.
This commit is contained in:
parent
4ce5a4ccd4
commit
9f8c08a717
2 changed files with 6 additions and 2 deletions
|
@ -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).
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue