Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
19f8dda0
Commit
19f8dda0
authored
Sep 22, 2000
by
Roberto Augusto Pungartnik
Committed by
Alexandre Julliard
Sep 22, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added S_ISFIFO check for Solaris.
parent
52b2878a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
client.c
scheduler/client.c
+2
-2
No files found.
scheduler/client.c
View file @
19f8dda0
...
...
@@ -461,8 +461,8 @@ static int server_connect( const char *oldcwd, const char *serverdir )
if
(
lstat
(
SOCKETNAME
,
&
st
)
==
-
1
)
fatal_perror
(
"lstat %s/%s"
,
serverdir
,
SOCKETNAME
);
}
/* make sure the socket is sane */
if
(
!
S_ISSOCK
(
st
.
st_mode
))
/* make sure the socket is sane
(ISFIFO needed for Solaris)
*/
if
(
!
S_ISSOCK
(
st
.
st_mode
)
&&
!
S_ISFIFO
(
st
.
st_mode
)
)
fatal_error
(
"'%s/%s' is not a socket
\n
"
,
serverdir
,
SOCKETNAME
);
if
(
st
.
st_uid
!=
getuid
())
fatal_error
(
"'%s/%s' is not owned by you
\n
"
,
serverdir
,
SOCKETNAME
);
...
...
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