NetBSD-Users archive

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

Re: _res in GNUMail



On Thu, Apr 05, 2012 at 02:07:26PM +0200, Riccardo Mottola wrote:
> It would be nice to get it working on NetBSD, by fixing NetBSD if necessary!

The fix is easy (if it is realy single threaded), basically provide your own

        res_state my_res;

and use

        res_ninit(&my_res)

instead of

        res_init();

(and a few more similar mechanical changes). "Fixing" it in NetBSD would be
very dangerous, and apparently not a lot programs nowadays rely on these
ancient, inherently non-threaded interfaces.

Martin


Home | Main Index | Thread Index | Old Index