I think we can simply stop the truncation, like this: - column += printf("%-8.8s %-8.8s ", + column += printf("%-8s %-8s ",
without additional loop to measure max length. On Mon, Feb 19, 2024 at 3:09 PM Matthew Chae <matthew.c...@axis.com> wrote: > > Hi maintainer, > > Currently, when using ls, only the first 8 characters of the username and > group name are printed, with the rest being truncated. However, there are > often long usernames and group names, and limiting them to 8 characters can > cause confusion and potential security vulnerabilities. Therefore, it would > be beneficial to be able to print the full username/group name when using ls. > > I'm sending the patch I've mentioned for this. Can I hear your opinion? > > Br-Matthew Chae > _______________________________________________ > busybox mailing list > busybox@busybox.net > http://lists.busybox.net/mailman/listinfo/busybox _______________________________________________ busybox mailing list busybox@busybox.net http://lists.busybox.net/mailman/listinfo/busybox