Revert previous commit. The bug was actually caused by an issue
in pre 1.8.5 versions of sudo which were sending too many SIGINTs to processes when the user hit Ctrl-C. Pointed out by: avg@, rpaulo@, sbruno@
This commit is contained in:
parent
0e8e6a33c7
commit
96b3267700
@ -70,8 +70,6 @@ typedef struct dtrace_cmd {
|
||||
#define E_ERROR 1
|
||||
#define E_USAGE 2
|
||||
|
||||
#define IMPATIENT_LIMIT 2
|
||||
|
||||
static const char DTRACE_OPTSTR[] =
|
||||
"3:6:aAb:Bc:CD:ef:FGhHi:I:lL:m:n:o:p:P:qs:SU:vVwx:X:Z";
|
||||
|
||||
@ -1204,7 +1202,7 @@ intr(int signo)
|
||||
if (!g_intr)
|
||||
g_newline = 1;
|
||||
|
||||
if (g_intr++ > IMPATIENT_LIMIT)
|
||||
if (g_intr++)
|
||||
g_impatient = 1;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user