Mercurial > emacs
diff src/w32.c @ 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 | dd21f49754a1 |
children | 40db0673e6f0 |
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; }