[Bug 11385] New: calls to functions like close are not wrapped to try again in cases of intermittent interruptions
samba-bugs at samba.org
samba-bugs at samba.org
Sun Jul 5 06:48:54 UTC 2015
https://bugzilla.samba.org/show_bug.cgi?id=11385
Bug ID: 11385
Summary: calls to functions like close are not wrapped to try
again in cases of intermittent interruptions
Product: rsync
Version: 3.1.1
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5
Component: core
Assignee: wayned at samba.org
Reporter: brant at gurganus.name
QA Contact: rsync-qa at samba.org
main.c calls to close() in lines 873, 878, 928, and 930. close() and similar
calls can fail with errno EINTR if interrupted while processing the close call.
glibc suggests trying again until it no longer fails with EINTR and provides
the TEMP_FAILURE_RETRY macro to centralize the boilerplate of doing so. See
http://www.gnu.org/software/libc/manual/html_node/Interrupted-Primitives.html#Interrupted-Primitives
--
You are receiving this mail because:
You are the QA Contact for the bug.
More information about the rsync
mailing list