bug-coreutils
[Top][All Lists]
Advanced

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

Re: dd hangs with SIGINT


From: Jim Meyering
Subject: Re: dd hangs with SIGINT
Date: Thu, 07 Apr 2005 17:22:26 +0200

Guillaume Chazarain <address@hidden> wrote:
> Jim Meyering wrote:
>>If there is no better way to solve the problem, then I'd consider
>>leaving the code the way it is.
>>
> Don't forget, there is my workaround, it stills cause gettext() calls in
> the signal handler, but I cannot make it fail, unlike vanilla.

Thanks.  I remember :)

Your patch is definitely better from the perspective of keeping the code
maintainable, but it'd be good to know why it works.  Maybe because once
initialized, gettext is far less likely to call functions like mmap and
malloc?

Can you determine whether (with your patch) e.g., malloc is ever being
called from the signal handler?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]