[Top][All Lists]
[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?
- dd hangs with SIGINT, Guillaume Chazarain, 2005/04/01
- Re: dd hangs with SIGINT, Paul Eggert, 2005/04/04
- Re: dd hangs with SIGINT, Guillaume Chazarain, 2005/04/04
- Re: dd hangs with SIGINT, Guillaume Chazarain, 2005/04/06
- Re: dd hangs with SIGINT, Bruno Haible, 2005/04/06
- Re: dd hangs with SIGINT, Jim Meyering, 2005/04/07
- Re: dd hangs with SIGINT, Guillaume Chazarain, 2005/04/07
- Re: dd hangs with SIGINT,
Jim Meyering <=
- Re: dd hangs with SIGINT, Guillaume Chazarain, 2005/04/07
- Re: dd hangs with SIGINT, Jim Meyering, 2005/04/07
- Re: dd hangs with SIGINT, Guillaume Chazarain, 2005/04/08
- Re: dd hangs with SIGINT, Paul Eggert, 2005/04/07
- Re: dd hangs with SIGINT, Andreas Schwab, 2005/04/07
- Re: dd hangs with SIGINT, Bruno Haible, 2005/04/08
- Re: dd hangs with SIGINT, Guillaume Chazarain, 2005/04/08
- Re: dd hangs with SIGINT, Andreas Schwab, 2005/04/08
- Re: dd hangs with SIGINT, James Youngman, 2005/04/08