From 7ae7b018ccf7760013f368fcb83aad9ecd8982a8 Mon Sep 17 00:00:00 2001 From: Mathieu Arnold Date: Mon, 20 Jun 2016 16:23:28 +0000 Subject: With the power of USES=dos2unix, get rid of most patches and files with CRLF. While there, run make makepatch, rename patches to use the new scheme, and various fixes. With hat: portmgr Sponsored by: Absolight --- security/trousers/files/patch-src_tspi_rpc_tcstp_rpc.c | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 security/trousers/files/patch-src_tspi_rpc_tcstp_rpc.c (limited to 'security/trousers/files/patch-src_tspi_rpc_tcstp_rpc.c') diff --git a/security/trousers/files/patch-src_tspi_rpc_tcstp_rpc.c b/security/trousers/files/patch-src_tspi_rpc_tcstp_rpc.c new file mode 100644 index 000000000000..b26709a8b271 --- /dev/null +++ b/security/trousers/files/patch-src_tspi_rpc_tcstp_rpc.c @@ -0,0 +1,11 @@ +--- src/tspi/rpc/tcstp/rpc.c.orig 2016-06-20 15:21:26 UTC ++++ src/tspi/rpc/tcstp/rpc.c +@@ -304,7 +304,7 @@ recv_from_socket(int sock, void *buffer, + errno = 0; + if ((recv_size = recv(sock, buffer+recv_total, size-recv_total, 0)) <= 0) { + if (recv_size < 0) { +- if (errno == EINTR) ++ if (errno == EINTR || errno == EAGAIN) + continue; + LogError("Socket receive connection error: %s.", strerror(errno)); + } else { -- cgit v1.2.3