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
ff4525ce
Commit
ff4525ce
authored
Jun 24, 2002
by
Steven Edwards
Committed by
Alexandre Julliard
Jun 24, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added check for pwd.h.
parent
97a003fc
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
1 deletion
+10
-1
configure
configure
+2
-0
configure.ac
configure.ac
+1
-0
config.h.in
include/config.h.in
+3
-0
config.c
library/config.c
+4
-1
No files found.
configure
View file @
ff4525ce
...
...
@@ -11160,6 +11160,7 @@ done
for
ac_header
in
\
arpa/inet.h
\
arpa/nameser.h
\
...
...
@@ -11186,6 +11187,7 @@ for ac_header in \
netinet/ip.h
\
netinet/tcp.h
\
pty.h
\
pwd.h
\
resolv.h
\
sched.h
\
scsi/sg.h
\
...
...
configure.ac
View file @
ff4525ce
...
...
@@ -907,6 +907,7 @@ AC_CHECK_HEADERS(\
netinet/ip.h \
netinet/tcp.h \
pty.h \
pwd.h \
resolv.h \
sched.h \
scsi/sg.h \
...
...
include/config.h.in
View file @
ff4525ce
...
...
@@ -344,6 +344,9 @@
/* Define to 1 if you have the <pty.h> header file. */
#undef HAVE_PTY_H
/* Define to 1 if you have the <pwd.h> header file. */
#undef HAVE_PWD_H
/* Define to 1 if you have the `pwrite' function. */
#undef HAVE_PWRITE
...
...
library/config.c
View file @
ff4525ce
...
...
@@ -22,7 +22,6 @@
#include "wine/port.h"
#include <errno.h>
#include <pwd.h>
#include <stdio.h>
#include <stdarg.h>
#include <stdlib.h>
...
...
@@ -30,6 +29,10 @@
#include <sys/stat.h>
#include <unistd.h>
#ifdef HAVE_PWD_H
#include <pwd.h>
#endif
static
const
char
*
const
server_config_dir
=
"/.wine"
;
/* config dir relative to $HOME */
static
const
char
*
const
server_root_prefix
=
"/tmp/.wine-"
;
/* prefix for server root dir */
static
const
char
*
const
server_dir_prefix
=
"/server-"
;
/* prefix for server dir */
...
...
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