[Bug 195929] usr.bin/sed -- constify, remove line-length limits

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Jul 9 03:21:17 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195929

Pedro F. Giffuni <pfg at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #171898|0                           |1
        is obsolete|                            |

--- Comment #19 from Pedro F. Giffuni <pfg at FreeBSD.org> ---
Created attachment 172273
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=172273&action=edit
Update to match sed on FreeBSD 11-BETA

11-BETA (and current) still have more changes and match better GNU sed.
Please review this update. Also note that attempting to make const the
parameter in findlabel() causes this problem:

/usr/src/usr.bin/sed/compile.c:913:28: warning: cast from 'const char *' to
      'unsigned char *' drops const qualifier [-Wcast-qual]
        for (h = 0, p = (u_char *)name; (c = *p) != 0; p++)
                                  ^

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


More information about the freebsd-bugs mailing list