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
66271816
Commit
66271816
authored
Apr 21, 2008
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
libwine: Allow to specify a non-existing directory as WINEPREFIX.
parent
bab67d39
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
config.c
libs/wine/config.c
+2
-4
No files found.
libs/wine/config.c
View file @
66271816
...
...
@@ -209,10 +209,8 @@ static void init_paths(void)
fatal_error
(
"invalid directory %s in WINEPREFIX: not an absolute path
\n
"
,
prefix
);
if
(
stat
(
config_dir
,
&
st
)
==
-
1
)
{
if
(
errno
!=
ENOENT
)
fatal_perror
(
"cannot open %s as specified in WINEPREFIX"
,
config_dir
);
fatal_error
(
"the '%s' directory specified in WINEPREFIX doesn't exist.
\n
"
"You may want to create it by running 'wineprefixcreate'.
\n
"
,
config_dir
);
if
(
errno
==
ENOENT
)
return
;
/* will be created later on */
fatal_perror
(
"cannot open %s as specified in WINEPREFIX"
,
config_dir
);
}
}
else
...
...
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