[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/48566 (getpwnam() fix and ECDH for sendmail from upstream)
The following reply was made to PR pkg/48566; it has been noted by GNATS.
From: christos%zoulas.com@localhost (Christos Zoulas)
To: gnats-bugs%NetBSD.org@localhost, jnemeth%NetBSD.org@localhost,
Subject: Re: pkg/48566 (getpwnam() fix and ECDH for sendmail from upstream)
Date: Tue, 17 Jun 2014 15:47:55 -0400
On Jun 17, 7:40pm, manu%netbsd.org@localhost (Emmanuel Dreyfus) wrote:
-- Subject: Re: pkg/48566 (getpwnam() fix and ECDH for sendmail from upstream
| > If you are threaded and you use _res you'll break with NetBSD because we
| > don't allow that.
| Sendmail is not threaded, hence it is perfectly fine to use __res. I
| must confess I do not understand why this change was done. The commit
| message says:
| - convert to use res_n* functions
| - allows for linking against threaded libraries
Yes, someone else encountered the same problem and tried to fix it.
| But I do not know what case we are talking about. I already link
| sendmail with a SASL plugin that does not use threads, but pulls
| -lpthread through other libraries, and it works fine, hence it is not
| the problem we have here.
As long as it is not actually using threads and _res gets resolved to the
libc one instead of the libpthread one it should be ok. In the long term
it is better to use the new resolver functions though.
Main Index |
Thread Index |