2 Dec
2016
2 Dec
'16
14:09
If you are a developer add the following in you code and it will override the system built it stuff. The core file will be in the directory you are run the process, just like it used to. You might want to have some form of flag say -core to enable it. ----8<---- void my_allow_coredumps() { #if defined(__SVR4) || defined(__linux) struct rlimit limits; limits.rlim_cur = limits.rlim_max = RLIM64_INFINITY; setrlimit(RLIMIT_CORE, &limits); #endif } int main( int argc, char* argv[] ) { my_allow_coredumps() } ----8<---- Regards David Allan Finch -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org