Peter Wang
72f174b4e2
Don't print value of errno in MR_fatal_error.
...
The majority of calls to MR_fatal_error do not follow an operation that
sets errno, so printing out an error message unrelated to the reason for
the fatal error will lead to confusion. It can also cause test failures
if errno happens to be set to non-zero some time prior to an expected
call to MR_fatal_error. Fixes bug #464 .
runtime/mercury_misc.c:
Don't print value of errno in MR_fatal_error.
runtime/mercury_context.c:
runtime/mercury_thread.c:
Pass strerror strings to MR_fatal_error where appropriate.
runtime/mercury_memory_zones.c:
runtime/mercury_memory_zones.h:
Pass strerror strings to MR_fatal_error following failures of
MR_protect_pages. Document that this assumes MR_protect_pages sets
errno on error.
Skip unnecessary call to sprintf before MR_fatal_error.
runtime/mercury_deep_profiling.c:
Skip unnecessary call to sprintf before MR_fatal_error.
Reduce size of some buffers.
runtime/mercury_overflow.c:
runtime/mercury_stack_trace.c:
Pass a fixed format string to MR_fatal_error just in case
the message string may contain percentage signs.
runtime/mercury_tabling.c:
Skip unnecessary call to sprintf before MR_fatal_error.
deep_profiler/timeout.m:
library/thread.m:
mdbcomp/shared_utilities.m:
Pass strerror strings to MR_fatal_error where appropriate.
trace/mercury_trace.c:
Skip unnecessary call to sprintf before MR_fatal_error.
trace/mercury_trace_external.c:
Pass a fixed format string to MR_fatal_error just in case.
2018-08-19 12:19:19 +10:00
..
2018-06-09 17:43:12 +10:00
2012-09-04 11:42:53 +00:00
2013-10-02 20:54:06 +10:00
2018-08-02 14:45:42 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-14 20:44:16 +02:00
2018-06-18 23:34:13 -04:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-08-19 12:19:19 +10:00
2018-06-09 17:43:12 +10:00
2018-07-23 10:26:29 +10:00
2018-06-09 17:43:12 +10:00
2018-07-19 02:17:14 +02:00
2018-07-08 17:54:11 +02:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-07-08 17:54:11 +02:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-08-19 12:19:19 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-07-10 13:52:11 +02:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-14 20:44:16 +02:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-08-10 14:47:20 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-08-11 11:50:15 +10:00
2018-06-09 17:43:12 +10:00
2018-08-19 12:19:19 +10:00
2018-08-19 12:19:19 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-08-19 12:19:19 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-07-23 10:26:29 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-08-19 12:19:19 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-07-23 10:26:29 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-07-23 10:26:29 +10:00
2018-06-09 17:43:12 +10:00
2018-08-19 12:19:19 +10:00
2018-06-09 17:43:12 +10:00
2018-07-23 10:26:29 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-07-29 12:42:30 +00:00
2018-07-23 10:26:29 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-07-08 17:54:11 +02:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-08-19 12:19:19 +10:00
2018-06-09 17:43:12 +10:00
2018-06-14 20:44:16 +02:00
2018-07-08 17:54:11 +02:00
2018-06-09 17:43:12 +10:00
2018-08-19 12:19:19 +10:00
2018-06-09 17:43:12 +10:00
2018-07-23 10:26:29 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-07-23 10:26:29 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-07-10 03:07:17 +02:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-07-08 17:54:11 +02:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-07-23 10:26:29 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-06-09 17:43:12 +10:00
2018-01-12 09:29:24 -05:00
2014-01-22 08:55:58 +11:00