Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
8d571e28
Commit
8d571e28
authored
Nov 09, 2007
by
Paul Millar
Committed by
Alexandre Julliard
Nov 12, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libwine: Fix naked getuid() to allow compilation under MinGW.
parent
1d930010
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
config.c
libs/wine/config.c
+2
-0
No files found.
libs/wine/config.c
View file @
8d571e28
...
...
@@ -230,7 +230,9 @@ static void init_paths(void)
}
}
if
(
!
S_ISDIR
(
st
.
st_mode
))
fatal_error
(
"%s is not a directory
\n
"
,
config_dir
);
#ifdef HAVE_GETUID
if
(
st
.
st_uid
!=
getuid
())
fatal_error
(
"%s is not owned by you
\n
"
,
config_dir
);
#endif
init_server_dir
(
st
.
st_dev
,
st
.
st_ino
);
}
...
...
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