Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Gabriel Ivăncescu
wine
Commits
a5c007df
Commit
a5c007df
authored
2 years ago
by
Francois Gouget
Committed by
Alexandre Julliard
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
ws2_32: Warn that a libnss plugin may be missing if getaddrinfo() returns EBUSY.
parent
89d42d64
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dlls/ws2_32/unixlib.c
+2
-0
2 additions, 0 deletions
dlls/ws2_32/unixlib.c
with
2 additions
and
0 deletions
dlls/ws2_32/unixlib.c
+
2
−
0
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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment