Re: [Nld-patches] evolution-exchange patch for bug #179545 (b.g.o bug #344196)

Dan Winship <[email protected]>
Newsgroups gmane.comp.gnome.evolution.patches
Message-ID <[email protected]>
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);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.