diff options
author | Henrik Nord <[email protected]> | 2015-02-04 12:13:26 +0100 |
---|---|---|
committer | Henrik Nord <[email protected]> | 2015-02-04 12:13:26 +0100 |
commit | aaa0536429ac827f3651bccd938f7d891f448b42 (patch) | |
tree | addbba676ea0a5f08bd74e64f82d06e2b77ee11c /erts/emulator/sys | |
parent | 9a393fb5237b637cc4cfdb79443a1517743eadd8 (diff) | |
download | otp-aaa0536429ac827f3651bccd938f7d891f448b42.tar.gz otp-aaa0536429ac827f3651bccd938f7d891f448b42.tar.bz2 otp-aaa0536429ac827f3651bccd938f7d891f448b42.zip |
fix faulty merge
Diffstat (limited to 'erts/emulator/sys')
-rw-r--r-- | erts/emulator/sys/unix/sys.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/erts/emulator/sys/unix/sys.c b/erts/emulator/sys/unix/sys.c index 69be052381..0d9c743c0c 100644 --- a/erts/emulator/sys/unix/sys.c +++ b/erts/emulator/sys/unix/sys.c @@ -778,36 +778,8 @@ prepare_crash_dump(int secs) heart_port->common.id, list, NULL); } -<<<<<<< HEAD - /* Make sure we unregister at epmd (unknown fd) and get at least - one free filedescriptor (for erl_crash.dump) */ - - max = max_files; - if (max < 1024) - max = 1024; - for (i = 3; i < max; i++) { -#if defined(ERTS_SMP) - /* We don't want to close the signal notification pipe... */ - if (i == sig_notify_fds[0] || i == sig_notify_fds[1]) - continue; - /* We don't want to close the signal syspend pipe... */ - if (i == sig_suspend_fds[0] || i == sig_suspend_fds[1]) - continue; -#elif defined(USE_THREADS) - /* We don't want to close the async notification pipe... */ - if (i == async_fd[0] || i == async_fd[1]) - continue; -#endif - /* We don't want to close our heart yet ... */ - if (i == heart_fd[0] || i == heart_fd[1]) - continue; - - close(i); - } -======= /* Make sure we have a fd for our crashdump file. */ close(crashdump_companion_cube_fd); ->>>>>>> maint envsz = sizeof(env); i = erts_sys_getenv__("ERL_CRASH_DUMP_NICE", env, &envsz); |