- reformulate the malloc_hook patch

This commit is contained in:
Ivana Varekova 2008-06-11 07:24:32 +00:00
parent 360dd346bb
commit ae24a9934e
2 changed files with 9 additions and 11 deletions

View File

@ -1,19 +1,14 @@
diff -up man-pages-2.80/man3/malloc_hook.3.pom man-pages-2.80/man3/malloc_hook.3 diff -up man-pages-2.80/man3/malloc_hook.3.pom man-pages-2.80/man3/malloc_hook.3
--- man-pages-2.80/man3/malloc_hook.3.pom 2008-06-03 11:50:24.000000000 +0200 --- man-pages-2.80/man3/malloc_hook.3.pom 2008-06-03 11:50:24.000000000 +0200
+++ man-pages-2.80/man3/malloc_hook.3 2008-06-10 15:34:04.000000000 +0200 +++ man-pages-2.80/man3/malloc_hook.3 2008-06-11 09:20:59.000000000 +0200
@@ -72,6 +72,17 @@ The variable @@ -72,6 +72,12 @@ The variable
points at a function that is called each time after points at a function that is called each time after
.BR sbrk (2) .BR sbrk (2)
was asked for more memory. was asked for more memory.
+.LP +.LP
+.BR __malloc_hook , +Hook variables are not thread-safe so they are deprecated now.
+.BR __realloc_hook , +Programmers should instead preempt callst to the relevant functions
+.BR __memalign_hook , +by defining and exporting functions like "malloc" and "free".
+.BR __free_hook,
+.BR __malloc_initialize_hook),
+and
+.B __after_morecore_hook
+are deprecated now.
+ +
+ +
.SH "CONFORMING TO" .SH "CONFORMING TO"

View File

@ -1,7 +1,7 @@
Summary: Man (manual) pages from the Linux Documentation Project Summary: Man (manual) pages from the Linux Documentation Project
Name: man-pages Name: man-pages
Version: 2.80 Version: 2.80
Release: 1%{?dist} Release: 2%{?dist}
License: GPLv2+, GLP, BSD, MIT, Copyright only, IEEE License: GPLv2+, GLP, BSD, MIT, Copyright only, IEEE
Group: Documentation Group: Documentation
URL: http://www.kernel.org/pub/linux/docs/manpages/ URL: http://www.kernel.org/pub/linux/docs/manpages/
@ -181,6 +181,9 @@ rm -rf $RPM_BUILD_ROOT
%lang(en) %{_mandir}/en/man* %lang(en) %{_mandir}/en/man*
%changelog %changelog
* Wed Jun 11 2008 Ivana Varekova <varekova@redhat.com> - 2.80-2
- reformulate the malloc_hook patch
* Tue Jun 10 2008 Ivana Varekova <varekova@redhat.com> - 2.80-1 * Tue Jun 10 2008 Ivana Varekova <varekova@redhat.com> - 2.80-1
- update to 2.80 - update to 2.80
- Resolves: #450187 - Resolves: #450187