- reformulate the malloc_hook patch
This commit is contained in:
parent
360dd346bb
commit
ae24a9934e
@ -1,19 +1,14 @@
|
||||
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 2008-06-10 15:34:04.000000000 +0200
|
||||
@@ -72,6 +72,17 @@ The variable
|
||||
+++ man-pages-2.80/man3/malloc_hook.3 2008-06-11 09:20:59.000000000 +0200
|
||||
@@ -72,6 +72,12 @@ The variable
|
||||
points at a function that is called each time after
|
||||
.BR sbrk (2)
|
||||
was asked for more memory.
|
||||
+.LP
|
||||
+.BR __malloc_hook ,
|
||||
+.BR __realloc_hook ,
|
||||
+.BR __memalign_hook ,
|
||||
+.BR __free_hook,
|
||||
+.BR __malloc_initialize_hook),
|
||||
+and
|
||||
+.B __after_morecore_hook
|
||||
+are deprecated now.
|
||||
+Hook variables are not thread-safe so they are deprecated now.
|
||||
+Programmers should instead preempt callst to the relevant functions
|
||||
+by defining and exporting functions like "malloc" and "free".
|
||||
+
|
||||
+
|
||||
.SH "CONFORMING TO"
|
||||
|
@ -1,7 +1,7 @@
|
||||
Summary: Man (manual) pages from the Linux Documentation Project
|
||||
Name: man-pages
|
||||
Version: 2.80
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
License: GPLv2+, GLP, BSD, MIT, Copyright only, IEEE
|
||||
Group: Documentation
|
||||
URL: http://www.kernel.org/pub/linux/docs/manpages/
|
||||
@ -181,6 +181,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%lang(en) %{_mandir}/en/man*
|
||||
|
||||
%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
|
||||
- update to 2.80
|
||||
- Resolves: #450187
|
||||
|
Loading…
Reference in New Issue
Block a user