22 lines
861 B
Diff
22 lines
861 B
Diff
|
--- man-pages-2.48/man3/malloc.3.pom 2007-04-13 00:42:49.000000000 +0200
|
||
|
+++ man-pages-2.48/man3/malloc.3 2007-05-11 10:11:30.000000000 +0200
|
||
|
@@ -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;
|
||
|
+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;
|
||
|
if set to 2,
|
||
|
-.BR abort ()
|
||
|
-is called immediately.
|
||
|
+.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.
|
||
|
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.
|