[Bug 210344] ul(1) truncates long lines

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Jun 17 14:09:00 UTC 2016


            Bug ID: 210344
           Summary: ul(1) truncates long lines
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: gahr at FreeBSD.org

Created attachment 171507
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=171507&action=edit
Accomodate long lines in ul(1)

>From this mailing list post:

ul(1) holds a static buffer of 512 characters and truncates any line longer
than that.

The attached patch allows expanding the buffer to accommodate lines longer than
512 characters. This is only done on the first occurrence of such a line, so
for most files no dynamic allocation is needed.

A version of the same patch with space changes ignored is also attached.

You are receiving this mail because:
You are the assignee for the bug.

More information about the freebsd-bugs mailing list