Re: [evolution-patches] [Nld-patches] evolution-exchange patch for bug #179545 (b.g.o bug #344196)
- From: Jeffrey Stedfast <fejj novell com>
- To: Hans Petter Jansson <hpj 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 18:10:35 -0400
EINTR isn't the same for camel_read() as read() :)
EINTR only happens when the CamelOperation for the thread is cancelled,
which means the socket needs to be disconnected.
On Fri, 2006-06-23 at 15:01 -0500, Hans Petter Jansson wrote:
> diff -up dude :)
>
> Your patch makes it close the socket if it gets EINTR. This could be a
> problem if you're transferring actual data and it's not just a wakeup
> pipe. That part may have been bad even before your patch, since it
> checks for errno != EINTR even when the read call is successful (the
> value of errno is really only defined if the call fails).
>
> Is it your intent to not handle EINTR here?
>
--
Jeffrey Stedfast
Evolution Hacker - Novell, Inc.
fejj novell com - www.novell.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]