- **Milestone**: future --> 4.3.3
---
** [tickets:#147] LOG: Log should not retry when close() returns EINTR**
**Status:** fixed
**Milestone:** 4.3.3
**Created:** Mon May 13, 2013 11:17 AM UTC by elunlen
**Last Updated:** Mon May 05, 2014 11:00 AM UTC
**Owner:** elunlen
In lgs_stream.c we have the following code:
{{{
close_retry:
rc = close(fd);
if (rc == -1 && errno == EINTR)
goto close_retry;
}}}
The retry when close() returns EINTR should be removed. On Linux, close()
always deallocates the file descriptor even when it returns EINTR.
For more information on this issue, see e.g.
http://news.ycombinator.com/item?id=3363884
Migrated from devel.opensaf.org #2803
---
Sent from sourceforge.net because [email protected] is
subscribed to https://sourceforge.net/p/opensaf/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/opensaf/admin/tickets/options. Or, if this is a
mailing list, you can unsubscribe from the mailing list.------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
Opensaf-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensaf-tickets