[Bug 233425] ftp/rexx-curl: Fix escaping of $ in post-patch

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Nov 23 04:21:59 UTC 2018


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

            Bug ID: 233425
           Summary: ftp/rexx-curl: Fix escaping of $ in post-patch
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs at FreeBSD.org
          Reporter: kevans at freebsd.org
                CC: bob at eager.cx
                CC: bob at eager.cx
             Flags: maintainer-feedback?(bob at eager.cx)

Created attachment 199469
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=199469&action=edit
svn(1) diff against ftp/rexx-curl

Hi,

Currently, '\$' is used to try and provide an escaped '$'. In the context that
it appears, '$$' is the proper escape sequence. This gets interpreted as
'\${.}sharedir' where $. is an empty string, thus '\sharedir'. This is an
escape of an ordinary character that will be forbidden (or, in this case, take
on a different meaning) in future versions of regex(3).

Thanks,

Kyle Evans

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


More information about the freebsd-ports-bugs mailing list