[PATCH 1/3] Fix threaded use of res_ functions.

2013-04-11 Thread Sørensen , Kenneth
Commit aab4df0fb51660300559f5f29290709db2f7bfee says that the line with after res_init() function. Commit 7f74de5d4d6d10baafab4b37bb3d472f5c5f0e8c moves the res_init() function below the line with #undef _res. This commit moves res_init() back above #undef _res. Signed-off-by: Kenneth Soerensen

[PATCH 2/3] Make res_init() thread safe.

2013-04-11 Thread Sørensen , Kenneth
From c34c95553ac7ebd278059fada06319aaf132c906 Mon Sep 17 00:00:00 2001 From: Kenneth Soerensen kenneth.soren...@spectralink.com Date: Wed, 10 Apr 2013 16:52:52 +0200 Subject: [PATCH 2/3] Make res_init() thread safe. res_init() was not atomic, which could give undesired behaviour. Now res_init()

[PATCH 3/3] Fix lookup with DNS search domains when res_init() is used in multi-threaded application.

2013-04-11 Thread Sørensen , Kenneth
From 2c80f5fa6cb55ed5b69e2bd74c921af618027015 Mon Sep 17 00:00:00 2001 From: Kenneth Soerensen kenneth.soren...@spectralink.com Date: Wed, 10 Apr 2013 17:10:37 +0200 Subject: [PATCH 3/3] Fix lookup with DNS search domains when res_init() is used in multi-threaded application. In a

[PATCH] arm: move check for BX to its own header

2013-04-11 Thread Yann E. MORIN
As Will noticed, the header this check is currently done in is asm-only, and is not meant to be included from C code. This breaks compilation when compiled for a Thumb2-aware CPU. Move the BX check to its own header, and revert 7a246fd. Reported-by: Will Newton will.new...@gmail.com

Re: [PATCH] arm: move check for BX to its own header

2013-04-11 Thread Yann E. MORIN
Hello All! On Thu, Apr 11, 2013 at 11:02:03PM +0200, Yann E. MORIN wrote: As Will noticed, the header this check is currently done in is asm-only, and is not meant to be included from C code. This breaks compilation when compiled for a Thumb2-aware CPU. Move the BX check to its own header,

Re: [PATCH] arm: move check for BX to its own header

2013-04-11 Thread Will Newton
On Thu, Apr 11, 2013 at 10:13 PM, Yann E. MORIN yann.morin.1...@free.fr wrote: Hi Yann, Hello All! On Thu, Apr 11, 2013 at 11:02:03PM +0200, Yann E. MORIN wrote: As Will noticed, the header this check is currently done in is asm-only, and is not meant to be included from C code. This

Re: [PATCH] arm: move check for BX to its own header

2013-04-11 Thread Yann E. MORIN
Will, All, On Thu, Apr 11, 2013 at 10:18:12PM +0100, Will Newton wrote: On Thu, Apr 11, 2013 at 10:13 PM, Yann E. MORIN yann.morin.1...@free.fr wrote: I was not able to build a libc, due to assembler error messages, that were present even before this patch. Which errors did you see? I