Re: [evolution-patches] [Nld-patches] evolution-exchange patch for bug #179545 (b.g.o bug #344196)
- From: Dan Winship <danw novell com>
- To: Jeffrey Stedfast <fejj novell com>
- Cc: evolution-patches gnome org, nld-patches forge provo novell com
- Subject: Re: [evolution-patches] [Nld-patches] evolution-exchange patch for bug #179545 (b.g.o bug #344196)
- Date: Fri, 23 Jun 2006 10:45:27 -0400
Doesn't this revert your fix for 179566? (Retrying on EINTR.)
Jeffrey Stedfast wrote:
>
>
> ------------------------------------------------------------------------
>
> Index: camel/camel-stub-marshal.c
> ===================================================================
> RCS file: /cvs/gnome/evolution-exchange/camel/camel-stub-marshal.c,v
> retrieving revision 1.2.8.3
> diff -u -r1.2.8.3 camel-stub-marshal.c
> --- camel/camel-stub-marshal.c 15 Jun 2006 20:35:34 -0000 1.2.8.3
> +++ camel/camel-stub-marshal.c 23 Jun 2006 14:25:45 -0000
> @@ -90,9 +90,10 @@
> ssize_t n;
>
> do {
> - if ((n = camel_read (marshal->fd, buf + nread, len - nread)) > 0)
> - nread += n;
> - } while (n && nread < len && errno != EINTR);
> + if ((n = camel_read (marshal->fd, buf + nread, len - nread)) <= 0)
> + break;
> + nread += n;
> + } while (nread < len);
>
> if (nread < len) {
> close (marshal->fd);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]