2007-05-30 14:18:29 +00:00
|
|
|
--- man-pages-2.51/man3/malloc.3.pom 2007-05-29 15:31:43.000000000 +0200
|
|
|
|
+++ man-pages-2.51/man3/malloc.3 2007-05-29 15:42:33.000000000 +0200
|
2007-05-11 08:49:44 +00:00
|
|
|
@@ -166,11 +166,14 @@
|
|
|
|
memory leaks can result.
|
|
|
|
If
|
|
|
|
.BR MALLOC_CHECK_
|
|
|
|
-is set to 0, any detected heap corruption is silently ignored;
|
|
|
|
-if set to 1, a diagnostic is printed on stderr;
|
2007-05-30 14:18:29 +00:00
|
|
|
+is set to 0, any detected heap corruption is silently ignored and
|
|
|
|
+an error message is not generated;
|
|
|
|
+if set to 1, the error message is printed on stderr, but the program
|
|
|
|
+is not aborted;
|
2007-05-11 08:49:44 +00:00
|
|
|
if set to 2,
|
2007-05-30 14:18:29 +00:00
|
|
|
-.BR abort (3)
|
2007-05-11 08:49:44 +00:00
|
|
|
-is called immediately.
|
2007-05-30 14:18:29 +00:00
|
|
|
+.BR abort()
|
|
|
|
+is called immediately, but the error message is not generated;
|
|
|
|
+if set to 3, the error message is printed on stderr and program is aborted.
|
2007-05-11 08:49:44 +00:00
|
|
|
This can be useful because otherwise
|
|
|
|
a crash may happen much later, and the true cause for the problem
|
|
|
|
is then very hard to track down.
|