rpms/man-pages/devel man-pages-2.80-malloc_h.patch, 1.1, 1.2 man-pages.spec, 1.98, 1.99

Ivana Varekova (varekova) fedora-extras-commits at redhat.com
Wed Jun 11 07:25:21 UTC 2008


Author: varekova

Update of /cvs/pkgs/rpms/man-pages/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv27519

Modified Files:
	man-pages-2.80-malloc_h.patch man-pages.spec 
Log Message:
- reformulate the malloc_hook patch


man-pages-2.80-malloc_h.patch:

Index: man-pages-2.80-malloc_h.patch
===================================================================
RCS file: /cvs/pkgs/rpms/man-pages/devel/man-pages-2.80-malloc_h.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- man-pages-2.80-malloc_h.patch	10 Jun 2008 13:52:13 -0000	1.1
+++ man-pages-2.80-malloc_h.patch	11 Jun 2008 07:24:32 -0000	1.2
@@ -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"


Index: man-pages.spec
===================================================================
RCS file: /cvs/pkgs/rpms/man-pages/devel/man-pages.spec,v
retrieving revision 1.98
retrieving revision 1.99
diff -u -r1.98 -r1.99
--- man-pages.spec	10 Jun 2008 13:52:13 -0000	1.98
+++ man-pages.spec	11 Jun 2008 07:24:32 -0000	1.99
@@ -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 @@
 %lang(en) %{_mandir}/en/man*
 
 %changelog
+* Wed Jun 11 2008 Ivana Varekova <varekova at redhat.com> - 2.80-2
+- reformulate the malloc_hook patch
+
 * Tue Jun 10 2008 Ivana Varekova <varekova at redhat.com> - 2.80-1
 - update to 2.80
 - Resolves: #450187




More information about the fedora-extras-commits mailing list