Commit bc5fdfc7 authored by Jason Rumney's avatar Jason Rumney
Browse files

(init_environment): Remove EMACSLOCKDIR.

(stat): Swap _S_IFDIR and _S_IFREG.
parent 4c7ec703
......@@ -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;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment