[haiku-bugs] Re: [Haiku] #12195: [Network] silently quits upon selecting DNS settings

  • From: "axeld" <trac@xxxxxxxxxxxx>
  • Date: Tue, 07 Jul 2015 15:21:50 -0000

#12195: [Network] silently quits upon selecting DNS settings
-----------------------------------+----------------------------
Reporter: diver | Owner: pulkomandy
Type: bug | Status: new
Priority: normal | Milestone: R1/beta1
Component: Preferences/Network | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Blocking:
Has a Patch: 0 | Platform: All
-----------------------------------+----------------------------

Comment (by axeld):

Actually, Adrien wrote that code; I have no idea. However, following the
advise in the link you provided sounds like it may work:
''Instead start using the thread-safe versions of the functions (it is
as simple as changing res_send() to res_nsend() for example and managing
your own _res_state with res_ninit()/res_nclose()). They've been there
for
almost a decade now, and there is no excuse for dicking with _res
directly
anymore!

--
Ticket URL: <https://dev.haiku-os.org/ticket/12195#comment:3>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: