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: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
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.
--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html