socket: Fix mistyped define statement in socket/sys/socket.h(BZ #29225)

This commit is contained in:
Vchanger 2022-10-09 10:08:33 +08:00
parent 0673c1d5a9
commit 3fafbd6275
2 changed files with 31 additions and 1 deletions

View File

@ -66,7 +66,7 @@
############################################################################## ##############################################################################
Name: glibc Name: glibc
Version: 2.34 Version: 2.34
Release: 96 Release: 97
Summary: The GNU libc libraries Summary: The GNU libc libraries
License: %{all_license} License: %{all_license}
URL: http://www.gnu.org/software/glibc/ URL: http://www.gnu.org/software/glibc/
@ -234,6 +234,7 @@ Patch146: linux-Add-a-getauxval-test-BZ-23293.patch
Patch147: aarch64-Move-ld.so-_start-to-separate-file-and-drop-.patch Patch147: aarch64-Move-ld.so-_start-to-separate-file-and-drop-.patch
Patch148: elf-Fix-DNDEBUG-warning-in-_dl_start_args_adjust.patch Patch148: elf-Fix-DNDEBUG-warning-in-_dl_start_args_adjust.patch
Patch149: nptl-Fix-___pthread_unregister_cancel_restore-asynch.patch Patch149: nptl-Fix-___pthread_unregister_cancel_restore-asynch.patch
Patch150: socket-Fix-mistyped-define-statement-in-socket-sys-s.patch
Patch9000: turn-default-value-of-x86_rep_stosb_threshold_form_2K_to_1M.patch Patch9000: turn-default-value-of-x86_rep_stosb_threshold_form_2K_to_1M.patch
Patch9001: delete-no-hard-link-to-avoid-all_language-package-to.patch Patch9001: delete-no-hard-link-to-avoid-all_language-package-to.patch
@ -1416,6 +1417,9 @@ fi
%endif %endif
%changelog %changelog
* Sun Oct 9 2022 Zhen Chen <chenzhen126@huawei.com> - 2.34-97
- socket: Fix mistyped define statement in socket/sys/socket.h(BZ #29225)
* Thu Sep 8 2022 Qingqing Li <liqingqing3@huawei.com> - 2.34-96 * Thu Sep 8 2022 Qingqing Li <liqingqing3@huawei.com> - 2.34-96
- nptl: Fix ___pthread_unregister_cancel_restore asynchronous - nptl: Fix ___pthread_unregister_cancel_restore asynchronous

View File

@ -0,0 +1,26 @@
From 999835533bc60fbd0b0b65d2412a6742e5a54b9d Mon Sep 17 00:00:00 2001
From: Dmitriy Fedchenko <xfedch@gmail.com>
Date: Mon, 6 Jun 2022 12:46:14 -0300
Subject: [PATCH] socket: Fix mistyped define statement in socket/sys/socket.h
(BZ #29225)
---
socket/sys/socket.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/socket/sys/socket.h b/socket/sys/socket.h
index 7d5b21a2c4..0abfb5dd03 100644
--- a/socket/sys/socket.h
+++ b/socket/sys/socket.h
@@ -181,7 +181,7 @@ extern ssize_t __REDIRECT (sendmsg, (int __fd, const struct msghdr *__message,
# else
extern ssize_t __sendmsg64 (int __fd, const struct msghdr *__message,
int __flags);
-# defien sendmsg __sendmsg64
+# define sendmsg __sendmsg64
# endif
#endif
--
2.23.0