If this ever worked it's a miracle. remember_sigill is initialized for
each loop, so it can't remember anything.

Fixes CID 1039950
This commit is contained in:
Sebastian Dransfeld 2013-12-07 22:09:49 +01:00
parent 139153cf2c
commit fcc82e3e34
1 changed files with 2 additions and 3 deletions

View File

@ -490,6 +490,8 @@ main(int argc, char **argv)
pid_t result;
int status;
Eina_Bool done = EINA_FALSE;
Eina_Bool remember_sigill = EINA_FALSE;
Eina_Bool remember_sigusr1 = EINA_FALSE;
#ifdef HAVE_SYS_PTRACE_H
if (!really_know)
@ -503,9 +505,6 @@ main(int argc, char **argv)
#endif
while (!done)
{
Eina_Bool remember_sigill = EINA_FALSE;
Eina_Bool remember_sigusr1 = EINA_FALSE;
result = waitpid(child, &status, WNOHANG);
if (!result)
{