aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJason Rumney2002-06-13 20:41:33 +0000
committerJason Rumney2002-06-13 20:41:33 +0000
commitbc5fdfc7b24427a9bc7b3b172166fb9737537887 (patch)
treecd039e6df5b68be01d0ef5628dc36b05b66de9f4 /src
parent4c7ec7031e44c1142dd1c19df0ffc4715bcb9dc2 (diff)
downloademacs-bc5fdfc7b24427a9bc7b3b172166fb9737537887.tar.gz
emacs-bc5fdfc7b24427a9bc7b3b172166fb9737537887.zip
(init_environment): Remove EMACSLOCKDIR.
(stat): Swap _S_IFDIR and _S_IFREG.
Diffstat (limited to 'src')
-rw-r--r--src/w32.c2
1 files changed, 1 insertions, 1 deletions
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)
2206 { 2206 {
2207 /* Don't bother to make this information more accurate. */ 2207 /* Don't bother to make this information more accurate. */
2208 buf->st_mode = (wfd.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) ? 2208 buf->st_mode = (wfd.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) ?
2209 _S_IFREG : _S_IFDIR; 2209 _S_IFDIR : _S_IFREG;
2210 buf->st_nlink = 1; 2210 buf->st_nlink = 1;
2211 fake_inode = 0; 2211 fake_inode = 0;
2212 } 2212 }