- fix MALLOC_CHECK_ description (#185502)

This commit is contained in:
Ivana Varekova 2006-03-16 11:40:17 +00:00
parent cd4f8670bc
commit f350801e54
2 changed files with 33 additions and 2 deletions

View File

@ -0,0 +1,27 @@
--- man-pages-2.25/man3/malloc.3.pom 2006-03-16 10:56:03.000000000 +0100
+++ man-pages-2.25/man3/malloc.3 2006-03-16 11:21:15.428524576 +0100
@@ -159,13 +159,17 @@
with the same argument, or overruns of a single byte (off-by-one
bugs). Not all such errors can be protected against, however, and
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;
-if set to 2,
-.BR abort ()
-is called immediately. This can be useful because otherwise
+If
+.BR MALLOC_CHECK_
+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, 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.
.SH BUGS

View File

@ -1,7 +1,7 @@
Summary: Man (manual) pages from the Linux Documentation Project.
Name: man-pages
Version: 2.25
Release: 1
Release: 2
License: distributable
Group: Documentation
Source0: http://www.kernel.org/pub/linux/docs/manpages/man-pages-%{version}.tar.gz
@ -24,6 +24,7 @@ Patch20: man-pages-2.13-aio.patch
Patch21: man-pages-2.16-mmap.patch
Patch22: man-pages-2.20-nscd.conf.patch
Patch23: man-pages-2.25-dbopen.patch
Patch24: man-pages-2.25-malloc.patch
Buildroot: %{_tmppath}/%{name}-%{version}-root
@ -56,6 +57,7 @@ tar xzf %{SOURCE11}
%patch21 -p1
%patch22 -p1
%patch23 -p1
%patch24 -p1
%build
@ -152,12 +154,14 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/en/man*/*
%changelog
* Thu Mar 16 2006 Ivana Varekova <varekova@redhat.com> 2.25-2
- fix MALLOC_CHECK_ description (#185502)
* Tue Mar 14 2006 Ivana Varekova <varekova@redhat.com> 2.25-1
- update to 2.25
- remove mbind and set_mempolicy files
- fix dbopen man page (#185310)
* Mon Jan 16 2006 Ivana Varekova <varekova@redhat.com> 2.21-1
- update to 2.21
- add the description of reload-count option (nscd.conf