[PATCH] Make _dl_dprintf buf non-static to avoid multithreading bugs.
Austin Foxley
austinf at cetoncorp.com
Wed Dec 23 20:12:32 UTC 2009
On 12/23/2009 12:00 PM, Chris Metcalf wrote:
> ---
> ldso/ldso/dl-elf.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/ldso/ldso/dl-elf.c b/ldso/ldso/dl-elf.c
> index a0db637..6b64f3e 100644
> --- a/ldso/ldso/dl-elf.c
> +++ b/ldso/ldso/dl-elf.c
> @@ -894,7 +894,7 @@ void _dl_dprintf(int fd, const char *fmt, ...)
> #endif
> va_list args;
> char *start, *ptr, *string;
> - static char *buf;
> + char *buf;
>
> if (!fmt)
> return;
Thanks! Applied.
Also add a Signed-off-by line in the future. I added it for you this time.
-Austin
More information about the uClibc
mailing list