update xinetd-2.3.15-sw.patch.
Signed-off-by: wuzx <471319475@qq.com> (cherry picked from commit c10508475ee7e6dd4cca448207892eda47d922bc)
This commit is contained in:
parent
fa63d9dbba
commit
45eedc326d
@ -1,8 +1,21 @@
|
|||||||
diff -Naur xinetd-2.3.15.org/xinetd/connection.c xinetd-2.3.15.sw/xinetd/connection.c
|
From 9f9d21dbb75876a42c25d2dccb748ab8c0ecf368 Mon Sep 17 00:00:00 2001
|
||||||
--- xinetd-2.3.15.org/xinetd/connection.c 2022-02-25 22:19:06.110000000 +0000
|
From: wuzx <wuzx1226@qq.com>
|
||||||
+++ xinetd-2.3.15.sw/xinetd/connection.c 2022-02-25 22:19:55.660000000 +0000
|
Date: Fri, 18 Nov 2022 17:01:54 +0800
|
||||||
@@ -220,7 +220,7 @@
|
Subject: [PATCH] Add sw64 architecture
|
||||||
|
|
||||||
|
Add sw64 architecture in file xinetd/connection.c to support sw64 architecture.
|
||||||
|
|
||||||
|
Signed-off-by: wuzx <wuzx1226@qq.com>
|
||||||
|
---
|
||||||
|
xinetd/connection.c | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/xinetd/connection.c b/xinetd/connection.c
|
||||||
|
index 7ba6261..3793bc9 100644
|
||||||
|
--- a/xinetd/connection.c
|
||||||
|
+++ b/xinetd/connection.c
|
||||||
|
@@ -220,7 +220,7 @@ void conn_dump( const connection_s *cp, int fd )
|
||||||
|
|
||||||
tabprint( fd, 1, "service = %s\n", SVC_ID( cp->co_sp ) ) ;
|
tabprint( fd, 1, "service = %s\n", SVC_ID( cp->co_sp ) ) ;
|
||||||
tabprint( fd, 1, "descriptor = %d\n", cp->co_descriptor ) ;
|
tabprint( fd, 1, "descriptor = %d\n", cp->co_descriptor ) ;
|
||||||
-#if defined(__GNUC__) && !defined(__arch64__) && !defined(__alpha__)
|
-#if defined(__GNUC__) && !defined(__arch64__) && !defined(__alpha__)
|
||||||
@ -10,3 +23,5 @@ diff -Naur xinetd-2.3.15.org/xinetd/connection.c xinetd-2.3.15.sw/xinetd/connect
|
|||||||
tabprint( fd, 1, "flags = %#llx\n", cp->co_flags ) ;
|
tabprint( fd, 1, "flags = %#llx\n", cp->co_flags ) ;
|
||||||
#else
|
#else
|
||||||
tabprint( fd, 1, "flags = %#lx\n", cp->co_flags ) ;
|
tabprint( fd, 1, "flags = %#lx\n", cp->co_flags ) ;
|
||||||
|
--
|
||||||
|
2.33.0
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user