From bc5fdfc7b24427a9bc7b3b172166fb9737537887 Mon Sep 17 00:00:00 2001 From: Jason Rumney Date: Thu, 13 Jun 2002 20:41:33 +0000 Subject: [PATCH] (init_environment): Remove EMACSLOCKDIR. (stat): Swap _S_IFDIR and _S_IFREG. --- src/w32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/w32.c b/src/w32.c index f4637721165..b789bb47e52 100644 --- a/src/w32.c +++ b/src/w32.c @@ -2206,7 +2206,7 @@ stat (const char * path, struct stat * buf) { /* 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; } -- 2.39.5