Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Jun 2016 14:09:00 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 210344] ul(1) truncates long lines
Message-ID:  <bug-210344-8@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D210344

            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@FreeBSD.org
          Reporter: gahr@FreeBSD.org

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

>From this mailing list post:
http://lists.freebsd.org/pipermail/freebsd-hackers/2016-June/049596.html

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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-210344-8>