pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/58249: SIGABRT misc/stellarium by "_res is not supported for multi-threaded programs" in libpthread



> 
> That's in maybeRefreshResolver(), and it has exceptions for
> Darwin, FreeBSD, OpenBSD and QNX, which all "auto-refresh" or in
> the case of QNX, "res_init() is not thread-safe".  I'm not sure
> if NetBSD "auto-refreshes" when /etc/resolv.conf is modified, but
> looking at the code in libc's resolver library makes me think so,
> ref. res_check() which is called from res_nsend().
> 
> 
> But, no, that's not the only one:
> 
>    return domainNameFromRes(&_res);
> 
> but possibly that code is never executed on NetBSD (looking at
> the previous section which does res_ninit() and tries to peel out
> the domain name from that state.
> 

NetBSD auto-refreshes when /etc/resolv.conf changes.

christos



Home | Main Index | Thread Index | Old Index