diff options
author | Mathieu Arnold <mat@FreeBSD.org> | 2016-06-20 16:23:28 +0000 |
---|---|---|
committer | Mathieu Arnold <mat@FreeBSD.org> | 2016-06-20 16:23:28 +0000 |
commit | 7ae7b018ccf7760013f368fcb83aad9ecd8982a8 (patch) | |
tree | e83ee6693050a76e305a95a376451aa583df151e /security/trousers/files/patch-src_tspi_rpc_tcstp_rpc.c | |
parent | textproc/rubygem-gitlab-grit: make it work with rubygem-mime-types again (diff) |
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
Diffstat (limited to 'security/trousers/files/patch-src_tspi_rpc_tcstp_rpc.c')
-rw-r--r-- | security/trousers/files/patch-src_tspi_rpc_tcstp_rpc.c | 11 |
1 files changed, 11 insertions, 0 deletions
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 { |