diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-06-05 02:05:02 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2018-06-05 02:05:02 -0500 |
commit | 6021da9d6a1217b3d891e48a424732f3f7fcd46c (patch) | |
tree | 7e1e086d51d277ccf38470405efdd1965874291f /user/kio/D11011-msghdr-iovec-struct.patch | |
parent | dc5e0fcd9b712738627e7a9744d1599133cdf8b9 (diff) | |
download | packages-6021da9d6a1217b3d891e48a424732f3f7fcd46c.tar.gz packages-6021da9d6a1217b3d891e48a424732f3f7fcd46c.tar.bz2 packages-6021da9d6a1217b3d891e48a424732f3f7fcd46c.tar.xz packages-6021da9d6a1217b3d891e48a424732f3f7fcd46c.zip |
user: KDE Frameworks 5.46.0
Diffstat (limited to 'user/kio/D11011-msghdr-iovec-struct.patch')
-rw-r--r-- | user/kio/D11011-msghdr-iovec-struct.patch | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/user/kio/D11011-msghdr-iovec-struct.patch b/user/kio/D11011-msghdr-iovec-struct.patch deleted file mode 100644 index 641bb8629..000000000 --- a/user/kio/D11011-msghdr-iovec-struct.patch +++ /dev/null @@ -1,23 +0,0 @@ -diff --git a/src/ioslaves/file/sharefd_p.h b/src/ioslaves/file/sharefd_p.h ---- a/src/ioslaves/file/sharefd_p.h -+++ b/src/ioslaves/file/sharefd_p.h -@@ -74,9 +74,16 @@ - FDMessageHeader() - : io_buf{0} - , cmsg_buf{0} -- , io{io_buf, sizeof io_buf} -- , msg{nullptr, 0, &io, 1, &cmsg_buf, sizeof cmsg_buf, 0} - { -+ memset(&io, 0, sizeof io); -+ io.iov_base = io_buf; -+ io.iov_len = sizeof io_buf; -+ -+ memset(&msg, 0, sizeof msg); -+ msg.msg_iov = &io; -+ msg.msg_iovlen = 1; -+ msg.msg_control = &cmsg_buf; -+ msg.msg_controllen = sizeof cmsg_buf; - } - - msghdr *message() - |