|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2014-03-18 17:17 UTC] requinix@php.net
-Status: Open
+Status: Feedback
[2014-03-18 17:17 UTC] requinix@php.net
[2014-03-18 17:18 UTC] requinix@php.net
-Package: Apache2 related
+Package: Program Execution
[2014-03-20 12:09 UTC] beaux_monde at tut dot by
-Status: Feedback
+Status: Closed
[2014-03-20 12:09 UTC] beaux_monde at tut dot by
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 06:00:01 2025 UTC |
Description: ------------ After update of php from 5.5.9 to 5.5.10 and apache from 2.2.26 to 2.4.7 rsync got falling while synchronization process. Test script: --------------- array($out); exec("rsync -auzvvvvvvvvv --delete --temp-dir='bad/' --exclude='/bad' --exclude='.htaccess' ./generated/ $host:/some/dir/", $out); Expected result: ---------------- Synchronization have to executed. Actual result: -------------- Synchronization falls at some stage without actual transferring of a files with error code 13. $out contains reference to a line 244 of a rsync's log.c. Here it: static void filtered_fwrite(FILE *f, const char *buf, int len, int use_isprint) { const char *s, *end = buf + len; for (s = buf; s < end; s++) { if ((s < end - 4 && *s == '\\' && s[1] == '#' && isDigit(s + 2) && isDigit(s + 3) && isDigit(s + 4)) || (*s != '\t' && ((use_isprint && !isPrint(s)) || *(uchar*)s < ' '))) { if (s != buf && fwrite(buf, s - buf, 1, f) != 1) exit_cleanup(RERR_MESSAGEIO); fprintf(f, "\\#%03o", *(uchar*)s); buf = s + 1; } } if (buf != end && fwrite(buf, end - buf, 1, f) != 1) exit_cleanup(RERR_MESSAGEIO); // <<< *** This is line 244 *** }