handled process termination

This commit is contained in:
hyunghwan.chung
2016-02-13 17:39:11 +00:00
parent f32e58f4b3
commit 2d352939d4
3 changed files with 69 additions and 8 deletions

View File

@ -449,7 +449,7 @@ int main (int argc, char* argv[])
stix_setoption (stix, STIX_SYMTAB_SIZE, &tab_size);
tab_size = 5000;
stix_setoption (stix, STIX_SYSDIC_SIZE, &tab_size);
tab_size = 60;
tab_size = 600;
stix_setoption (stix, STIX_PROCSTK_SIZE, &tab_size);
}
@ -599,6 +599,9 @@ printf ("%p\n", a);
{
printf ("ERROR: cannot execute code - %d\n", stix_geterrnum(stix));
stix_close (stix);
#if defined(USE_LTDL)
lt_dlexit ();
#endif
return -1;
}