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
a5c007df
Commit
a5c007df
authored
Feb 01, 2023
by
Francois Gouget
Committed by
Alexandre Julliard
Feb 17, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ws2_32: Warn that a libnss plugin may be missing if getaddrinfo() returns EBUSY.
parent
89d42d64
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
unixlib.c
dlls/ws2_32/unixlib.c
+2
-0
No files found.
dlls/ws2_32/unixlib.c
View file @
a5c007df
...
...
@@ -102,6 +102,7 @@
#include "ws2_32_private.h"
WINE_DEFAULT_DEBUG_CHANNEL
(
winsock
);
WINE_DECLARE_DEBUG_CHANNEL
(
winediag
);
#ifndef HAVE_LINUX_GETHOSTBYNAME_R_6
static
pthread_mutex_t
host_mutex
=
PTHREAD_MUTEX_INITIALIZER
;
...
...
@@ -463,6 +464,7 @@ static int addrinfo_err_from_unix( int err )
case
EAI_SERVICE
:
return
WS_EAI_SERVICE
;
case
EAI_SOCKTYPE
:
return
WS_EAI_SOCKTYPE
;
case
EAI_SYSTEM
:
if
(
errno
==
EBUSY
)
ERR_
(
winediag
)(
"getaddrinfo() returned EBUSY. You may be missing a libnss plugin
\n
"
);
/* some broken versions of glibc return EAI_SYSTEM and set errno to
* 0 instead of returning EAI_NONAME */
return
errno
?
errno_from_unix
(
errno
)
:
WS_EAI_NONAME
;
...
...
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