Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
8f7f8c65
Commit
8f7f8c65
authored
Jan 27, 2006
by
Eli Zaretskii
Browse files
(DIRENTRY_NONEMPTY) [__CYGWIN__]: Use the MSDOS definition.
parent
967a91b2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/dired.c
src/dired.c
+2
-1
No files found.
src/dired.c
View file @
8f7f8c65
...
...
@@ -85,7 +85,8 @@ extern struct direct *readdir ();
#endif
/* not MSDOS */
#endif
/* not SYSV_SYSTEM_DIR */
#ifdef MSDOS
/* Some versions of Cygwin don't have d_ino in `struct dirent'. */
#if defined(MSDOS) || defined(__CYGWIN__)
#define DIRENTRY_NONEMPTY(p) ((p)->d_name[0] != 0)
#else
#define DIRENTRY_NONEMPTY(p) ((p)->d_ino)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment