DO NOT REPLY [Bug 6633] Extended attributes under Solaris are not supported.

samba-bugs at samba.org samba-bugs at samba.org
Tue Sep 1 12:50:29 MDT 2009


https://bugzilla.samba.org/show_bug.cgi?id=6633





------- Comment #8 from wayned at samba.org  2009-09-01 13:50 CST -------
Aha.  The loop is being limited by buflen instead of sb.st_size.  Change this:

-               for (bufpos = 0; bufpos < buflen; ) {
-                       ssize_t cnt = read(attrfd, buf + bufpos, buflen -
bufpos);
+               for (bufpos = 0; bufpos < sb.st_size; ) {
+                       ssize_t cnt = read(attrfd, buf + bufpos, sb.st_size -
bufpos);


-- 
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.


More information about the rsync mailing list