Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
e7273e3a
Commit
e7273e3a
authored
Jul 04, 2013
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "src: fix crash in getaddrinfo due to bugs in the OSX runtime"
This reverts commit
db8ff4e3
.
parent
4d7465b4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
8 deletions
+0
-8
src/network/getaddrinfo.c
src/network/getaddrinfo.c
+0
-8
No files found.
src/network/getaddrinfo.c
View file @
e7273e3a
...
...
@@ -121,13 +121,5 @@ int vlc_getaddrinfo (const char *node, unsigned port,
node
=
NULL
;
}
#if defined(__APPLE__) && defined(AI_NUMERICSERV)
/* work-around a segfault in libSystem on Darwin 12 and later
* if AI_NUMERICSERV is set and servname is either NULL or "0"
* radar://13058317 */
if
((
hints
->
ai_flags
&
AI_NUMERICSERV
)
&&
(
servname
==
NULL
||
(
servname
[
0
]
==
'0'
&&
servname
[
1
]
==
0
)))
servname
=
(
char
*
)
"00"
;
#endif
return
getaddrinfo
(
node
,
servname
,
hints
,
res
);
}
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