samba-bugs at samba.org
2015-Jul-05 06:48 UTC
[Bug 11385] New: calls to functions like close are not wrapped to try again in cases of intermittent interruptions
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.
Apparently Analagous Threads
- [Bug 11382] New: elapsed time calculation does not account for time function possibly returning -1
- [Bug 11369] New: obsoleted autoconf macros
- [Bug 11813] New: m4/socklen_t.m4 uses obsolete AC_TRY_COMPILE macro
- [Bug 11814] New: man-copy Make target missing rsync.1 and rsyncd.conf.5 dependencies
- [Bug 11383] New: rsync_panic_handler may execute incomplete command