forked from rpms/glibc
manual: fix order of arguments of memalign and aligned_alloc
Resolves: RHEL-21556
This commit is contained in:
parent
da346ff8a8
commit
f58c52d099
33
glibc-RHEL-21556.patch
Normal file
33
glibc-RHEL-21556.patch
Normal file
@ -0,0 +1,33 @@
|
||||
commit c06c8aeb61708249d8eb0b17a676d16771ea640b
|
||||
Author: Dennis Brendel <dbrendel@redhat.com>
|
||||
Date: Mon Jan 15 09:55:37 2024 +0100
|
||||
|
||||
manual: fix order of arguments of memalign and aligned_alloc (Bug 27547)
|
||||
|
||||
On the summary page the order of the function arguments was reversed, but it is
|
||||
in correct order in the other places of the manual.
|
||||
|
||||
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
|
||||
|
||||
diff --git a/manual/memory.texi b/manual/memory.texi
|
||||
index fb875f4c3c..3710d7ec66 100644
|
||||
--- a/manual/memory.texi
|
||||
+++ b/manual/memory.texi
|
||||
@@ -1502,7 +1502,7 @@ Space}.
|
||||
Allocate a block of @var{size} bytes, starting on a page boundary.
|
||||
@xref{Aligned Memory Blocks}.
|
||||
|
||||
-@item void *aligned_alloc (size_t @var{size}, size_t @var{alignment})
|
||||
+@item void *aligned_alloc (size_t @var{alignment}, size_t @var{size})
|
||||
Allocate a block of @var{size} bytes, starting on an address that is a
|
||||
multiple of @var{alignment}. @xref{Aligned Memory Blocks}.
|
||||
|
||||
@@ -1510,7 +1510,7 @@ multiple of @var{alignment}. @xref{Aligned Memory Blocks}.
|
||||
Allocate a block of @var{size} bytes, starting on an address that is a
|
||||
multiple of @var{alignment}. @xref{Aligned Memory Blocks}.
|
||||
|
||||
-@item void *memalign (size_t @var{size}, size_t @var{boundary})
|
||||
+@item void *memalign (size_t @var{boundary}, size_t @var{size})
|
||||
Allocate a block of @var{size} bytes, starting on an address that is a
|
||||
multiple of @var{boundary}. @xref{Aligned Memory Blocks}.
|
||||
|
@ -155,7 +155,7 @@ end \
|
||||
Summary: The GNU libc libraries
|
||||
Name: glibc
|
||||
Version: %{glibcversion}
|
||||
Release: 99%{?dist}
|
||||
Release: 100%{?dist}
|
||||
|
||||
# In general, GPLv2+ is used by programs, LGPLv2+ is used for
|
||||
# libraries.
|
||||
@ -807,6 +807,7 @@ Patch570: glibc-RHEL-16643-4.patch
|
||||
Patch571: glibc-RHEL-16643-5.patch
|
||||
Patch572: glibc-RHEL-16643-6.patch
|
||||
Patch573: glibc-RHEL-19444.patch
|
||||
Patch574: glibc-RHEL-21556.patch
|
||||
|
||||
##############################################################################
|
||||
# Continued list of core "glibc" package information:
|
||||
@ -2965,6 +2966,9 @@ update_gconv_modules_cache ()
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Wed Jan 24 2024 Patsy Griffin <patsy@redhat.com> - 2.34-100
|
||||
- manual: fix order of arguments of memalign and aligned_alloc (RHEL-21556)
|
||||
|
||||
* Tue Jan 09 2024 Arjun Shankar <arjun@redhat.com> - 2.34-99
|
||||
- getaddrinfo: Return correct error EAI_MEMORY when out-of-memory (RHEL-19444)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user