[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Inconsistency in attribute.c
From: |
Sergey Poznyakoff |
Subject: |
Re: Inconsistency in attribute.c |
Date: |
Mon, 2 Jul 2001 23:02:56 +0300 (EET DST) |
>
> I think, it will be necessary to this, if we decide to use setjmp()'s and
> longjmp() out from the signal handler, when cntl-C is sent while
> executing command like retrieving headers "from *" or downloading messages.
> Relying on errno == EINTR and unwinding the stack may not be possible
> which leave us to longjmp(), I do not know if even readline-4.1 handle
> this well.
Actually, it doesn't. When using longjmp() one must manually clear readline's
state for 4.1 as well. I believe it is always better to avoid using long jumps,
but in this case they may come handy.
Anyway, I have already downloaded 3.0 and am going to experiment with it.
a bientot,
Sergey