https://bugzilla.mindrot.org/show_bug.cgi?id=2434

--- Comment #11 from Damien Miller <d...@mindrot.org> ---
Comment on attachment 2942
  --> https://bugzilla.mindrot.org/attachment.cgi?id=2942
Simplify population of file name display


>+      displayname[0] = '\0';
>+      if (file_len > 0)
>+              snprintf(displayname, file_len, "%*s ", file_len * -1, file);

I don't this will give good output if it chops file in the middle of a
multibyte character.

-- 
You are receiving this mail because:
You are watching the assignee of the bug.
You are watching someone on the CC list of the bug.
_______________________________________________
openssh-bugs mailing list
openssh-bugs@mindrot.org
https://lists.mindrot.org/mailman/listinfo/openssh-bugs

Reply via email to