Mercurial > emacs
comparison 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 |
comparison
equal
deleted
inserted
replaced
45814:8e79905a56dd | 45815:42467cc62b56 |
---|---|
2204 } | 2204 } |
2205 else | 2205 else |
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 } |
2213 | 2213 |
2214 #if 0 | 2214 #if 0 |