Use a slightly more sane estimate for the amount of memory a translated string might occupy, if our initial 1:2 guess proved incorrect.
Use a slightly more sane estimate for the amount of memory a translated
string might occupy, if our initial 1:2 guess proved incorrect.

* subversion/libsvn_subr/utf.c
  (convert_to_stringbuf): If we ran out of space converting a string based
    on our initial assumptions, grow the destination buffer based on the
    amount of string remaining to convert, rather than the amount that
    has already been converted (which might be a substantial amount).

    Use a 1:3 ratio for the remaining string, since we know that 1:2
    wasn't enough.

    Also change comments to be precise about distinguishing characters
    and bytes.

jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion,jmckaskill/subversion