aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/sys/unix
diff options
context:
space:
mode:
authorHenrik Nord <[email protected]>2015-02-04 12:13:26 +0100
committerHenrik Nord <[email protected]>2015-02-04 12:13:26 +0100
commitaaa0536429ac827f3651bccd938f7d891f448b42 (patch)
treeaddbba676ea0a5f08bd74e64f82d06e2b77ee11c /erts/emulator/sys/unix
parent9a393fb5237b637cc4cfdb79443a1517743eadd8 (diff)
downloadotp-aaa0536429ac827f3651bccd938f7d891f448b42.tar.gz
otp-aaa0536429ac827f3651bccd938f7d891f448b42.tar.bz2
otp-aaa0536429ac827f3651bccd938f7d891f448b42.zip
fix faulty merge
Diffstat (limited to 'erts/emulator/sys/unix')
-rw-r--r--erts/emulator/sys/unix/sys.c28
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);