Same fix as the tcp stream. (stream_write): Again here. Just like tcp
authorJeffrey Stedfast <fejj@ximian.com>
Fri, 3 May 2002 01:16:17 +0000 (01:16 +0000)
committerJeffrey Stedfast <fejj@src.gnome.org>
Fri, 3 May 2002 01:16:17 +0000 (01:16 +0000)
commitc3a711160f89b250e5c21304b070a9a65a9eb492
tree0c92d1448996a64cfa505ed9988f24d0548277eb
parentaddf9398c22c68c737c34db51072ce7fcbaea099
Same fix as the tcp stream. (stream_write): Again here. Just like tcp

2002-05-02  Jeffrey Stedfast  <fejj@ximian.com>

* camel-stream-fs.c (stream_read): Same fix as the tcp stream.
(stream_write): Again here. Just like tcp stream's stream_write(),
also make sure to save errno before calling fcntl to restore the
fd flags.

* camel-tcp-stream-raw.c (stream_read): Handle EINTR errors for
select().
(stream_write): Same and also preserve errno when setting the fd
flags back. If w == -1, return -1.
camel/ChangeLog
camel/camel-stream-fs.c
camel/camel-tcp-stream-raw.c