aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/sys.h
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2012-12-06 15:02:45 +0100
committerBjörn-Egil Dahlberg <[email protected]>2012-12-06 15:02:45 +0100
commit1cbd897c43f0dab1275392a3736e4629c1f80243 (patch)
tree523c09bf004e1028c6a4f0baa19f24f973b1b7bf /erts/emulator/beam/sys.h
parent214d1aaf4749ae6a7bb0506cf448551a312a9a58 (diff)
parent05f8e1029d5bfc102558c68264ee91757788885e (diff)
downloadotp-1cbd897c43f0dab1275392a3736e4629c1f80243.tar.gz
otp-1cbd897c43f0dab1275392a3736e4629c1f80243.tar.bz2
otp-1cbd897c43f0dab1275392a3736e4629c1f80243.zip
Merge tag 'erl_1219' into maintOTP_R15B03-1
erts: Patch 1219 OTP-10602 Create an erl_crash.dump if no heart exists and no ERL_CRASH_DUMP_SECONDS is set (behaviour changed). Don't create an erl_crash.dump if heart do exists and no ERL_CRASH_DUMP_SECONDS is set (behaviour not changed). This changes the behaviour back to the R15B02 default considering if a beam was running with no heart.
Diffstat (limited to 'erts/emulator/beam/sys.h')
-rw-r--r--erts/emulator/beam/sys.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/sys.h b/erts/emulator/beam/sys.h
index 9dd8341520..41389c8734 100644
--- a/erts/emulator/beam/sys.h
+++ b/erts/emulator/beam/sys.h
@@ -652,7 +652,7 @@ void erts_sys_schedule_interrupt_timed(int set, erts_short_time_t msec);
void erts_sys_main_thread(void);
#endif
-extern void erts_sys_prepare_crash_dump(int secs);
+extern int erts_sys_prepare_crash_dump(int secs);
extern void erts_sys_pre_init(void);
extern void erl_sys_init(void);
extern void erl_sys_args(int *argc, char **argv);