changeset 45815:42467cc62b56

(init_environment): Remove EMACSLOCKDIR. (stat): Swap _S_IFDIR and _S_IFREG.
author Jason Rumney <jasonr@gnu.org>
date Thu, 13 Jun 2002 20:41:33 +0000
parents 8e79905a56dd
children e47c404691fe
files src/w32.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/w32.c	Thu Jun 13 20:39:32 2002 +0000
+++ b/src/w32.c	Thu Jun 13 20:41:33 2002 +0000
@@ -2206,7 +2206,7 @@
     {
       /* Don't bother to make this information more accurate.  */
       buf->st_mode = (wfd.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) ?
-	_S_IFREG : _S_IFDIR;
+	_S_IFDIR : _S_IFREG;
       buf->st_nlink = 1;
       fake_inode = 0;
     }