diff options
author | Chris Larson <clarson@kergoth.com> | 2004-11-09 00:36:47 +0000 |
---|---|---|
committer | Chris Larson <clarson@kergoth.com> | 2004-11-09 00:36:47 +0000 |
commit | f96441b9faf769c9ecdd4d338b605ea3d0cc4010 (patch) | |
tree | edb17ec2c4ea13c5acb1c7350957a249a820e28d /libetpan/libetpan-cvs/mailstream_socket.patch | |
parent | b6588aa6851fb220cedc387d21c51513ef8d67f4 (diff) |
Disable bk EOLN_NATIVE conversions on all files in packages FILESPATHs, to prevent it screwing up patches.
BKrev: 4190111fA4MuVozAqwE7xOSL9fr-TA
Diffstat (limited to 'libetpan/libetpan-cvs/mailstream_socket.patch')
-rw-r--r-- | libetpan/libetpan-cvs/mailstream_socket.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/libetpan/libetpan-cvs/mailstream_socket.patch b/libetpan/libetpan-cvs/mailstream_socket.patch index e69de29bb2..b02ce46a04 100644 --- a/libetpan/libetpan-cvs/mailstream_socket.patch +++ b/libetpan/libetpan-cvs/mailstream_socket.patch @@ -0,0 +1,36 @@ + +# +# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher +# + +--- libetpan-0.33pre/tools/mailstream_socket.c~mailstream_socket 2004-03-07 01:59:01.000000000 +0100 ++++ libetpan-0.33pre/tools/mailstream_socket.c 2004-03-11 14:48:47.000000000 +0100 +@@ -44,6 +44,7 @@ + */ + #include <sys/time.h> + #include <sys/types.h> ++#include <sys/socket.h> + #include <unistd.h> + #include <sys/select.h> + +@@ -176,8 +177,8 @@ + if (!FD_ISSET(socket_data->fd, &fds_read)) + return 0; + } +- +- return read(socket_data->fd, buf, count); ++ ++ return recv(socket_data->fd,buf,count,MSG_NOSIGNAL); + } + + static ssize_t mailstream_low_socket_write(mailstream_low * s, +@@ -207,8 +208,7 @@ + if (!FD_ISSET(socket_data->fd, &fds_write)) + return 0; + } +- +- return write(socket_data->fd, buf, count); ++ return send(socket_data->fd,buf,count,MSG_NOSIGNAL); + } + + |