The Samba-Bugzilla – Attachment 1652 Details for
Bug 3382
hang in read() in exclude.test of testsuite
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
clearerr() before trying getc() again, otherwise may loop indefinitely
rsync-2.6.6-exclude.c.patch (text/plain), 400 bytes, created by
Tim Mooney
on 2006-01-06 14:46:41 UTC
(
hide
)
Description:
clearerr() before trying getc() again, otherwise may loop indefinitely
Filename:
MIME Type:
Creator:
Tim Mooney
Created:
2006-01-06 14:46:41 UTC
Size:
400 bytes
patch
obsolete
>--- rsync-2.6.6.orig/exclude.c 2005-07-07 14:49:14.000000000 -0500 >+++ rsync-2.6.6/exclude.c 2006-01-06 14:59:34.000000000 -0600 >@@ -997,8 +997,10 @@ > int ch, overflow = 0; > while (1) { > if ((ch = getc(fp)) == EOF) { >- if (ferror(fp) && errno == EINTR) >+ if (ferror(fp) && errno == EINTR) { >+ clearerr(fp); > continue; >+ } > break; > } > if (word_split && isspace(ch))
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 3382
: 1652