[patch] rprintf: truncate too-long strings
mbp at valinux.com
Tue Sep 4 13:12:28 EST 2001
On 23 Jul 2001, Ed Santiago <esm at pobox.com> wrote:
> We had some filesystem weirdness resulting in preposterously
> long paths. Rsync tried to emit a warning, but ended up dying
> instead, with less than helpful diagnostic: silence, with exit
> code 13 (RERR_MESSAGEIO). The CVS version emitted a message,
> but was still not useful.
> The patch below allows rprintf() to handle too-long messages.
> Instead of croaking silently, the first part of the string is
> shown, with a trailing ellipsis.
Thanks, that's a good patch. Committed.
More information about the rsync