From: Jason Rumney Date: Thu, 13 Jun 2002 20:41:33 +0000 (+0000) Subject: (init_environment): Remove EMACSLOCKDIR. X-Git-Tag: ttn-vms-21-2-B4~14623 X-Git-Url: https://code.delx.au/gnu-emacs/commitdiff_plain/bc5fdfc7b24427a9bc7b3b172166fb9737537887 (init_environment): Remove EMACSLOCKDIR. (stat): Swap _S_IFDIR and _S_IFREG. --- diff --git a/src/w32.c b/src/w32.c index f463772116..b789bb47e5 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; }