Mercurial > hg > xemacs-beta
diff src/fileio.c @ 312:d1b52dcaa789 r21-0b54
Import from CVS: tag r21-0b54
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:43:55 +0200 |
parents | 70ad99077275 |
children | 512e409c26a2 |
line wrap: on
line diff
--- a/src/fileio.c Mon Aug 13 10:43:30 2007 +0200 +++ b/src/fileio.c Mon Aug 13 10:43:55 2007 +0200 @@ -2288,7 +2288,7 @@ if (!NILP (handler)) RETURN_UNGCPRO (call2 (handler, Qfile_readable_p, abspath)); -#ifdef WINDOWSNT +#if defined(WINDOWSNT) || defined(__CYGWIN32__) /* Under MS-DOS and Windows, open does not work for directories. */ UNGCPRO; if (access (XSTRING_DATA (abspath), 0) == 0)