Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
bc5fdfc7
Commit
bc5fdfc7
authored
Jun 13, 2002
by
Jason Rumney
Browse files
(init_environment): Remove EMACSLOCKDIR.
(stat): Swap _S_IFDIR and _S_IFREG.
parent
4c7ec703
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/w32.c
src/w32.c
+1
-1
No files found.
src/w32.c
View file @
bc5fdfc7
...
...
@@ -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_IF
REG
:
_S_IF
DIR
;
_S_IF
DIR
:
_S_IF
REG
;
buf
->
st_nlink
=
1
;
fake_inode
=
0
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment