[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/emacs-23 r99946: * dired.c (DIRENTRY_NONEMP
From: |
Ken Brown |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/emacs-23 r99946: * dired.c (DIRENTRY_NONEMPTY) [cygwin]: Use d_ino instead of the MSDOS definition. |
Date: |
Tue, 27 Jul 2010 07:10:48 -0400 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 99946
committer: Ken Brown <address@hidden>
branch nick: emacs-23
timestamp: Tue 2010-07-27 07:10:48 -0400
message:
* dired.c (DIRENTRY_NONEMPTY) [cygwin]: Use d_ino instead of the MSDOS
definition.
modified:
src/ChangeLog
src/dired.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2010-07-25 23:56:56 +0000
+++ b/src/ChangeLog 2010-07-27 11:10:48 +0000
@@ -1,3 +1,8 @@
+2010-07-27 Ken Brown <address@hidden>
+
+ * dired.c (DIRENTRY_NONEMPTY) [cygwin]: Use d_ino instead of
+ the MSDOS definition.
+
2010-07-25 Christoph Scholtes <address@hidden>
* minibuf.c (Fread_buffer): Doc fix (bug#6528).
=== modified file 'src/dired.c'
--- a/src/dired.c 2010-04-19 03:06:29 +0000
+++ b/src/dired.c 2010-07-27 11:10:48 +0000
@@ -72,8 +72,7 @@
#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)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/emacs-23 r99946: * dired.c (DIRENTRY_NONEMPTY) [cygwin]: Use d_ino instead of the MSDOS definition.,
Ken Brown <=