Bug 233418 - databases/freetds: fix escaping of $
Summary: databases/freetds: fix escaping of $
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Muhammad Moinur Rahman
URL:
Keywords:
Depends on:
Blocks: 229925
  Show dependency treegraph
 
Reported: 2018-11-22 23:39 UTC by Kyle Evans
Modified: 2018-11-30 00:31 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (bofh)


Attachments
svn(1) diff against databases/freetds (448 bytes, patch)
2018-11-22 23:39 UTC, Kyle Evans
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kyle Evans freebsd_committer freebsd_triage 2018-11-22 23:39:23 UTC
Created attachment 199462 [details]
svn(1) diff against databases/freetds

An escaped '$' in this context is '$$'. It currently comes out as '\ith' going into sed, which is effectively escaping an ordinary character. This will be a hard failure in a future version of regex(3).

freetds-devel did not exhibit this particular behavior, so no patch for this one.

Thanks,

Kyle Evans
Comment 1 commit-hook freebsd_committer freebsd_triage 2018-11-30 00:29:08 UTC
A commit references this bug:

Author: bofh
Date: Fri Nov 30 00:28:08 UTC 2018
New revision: 486218
URL: https://svnweb.freebsd.org/changeset/ports/486218

Log:
  databases/freetds : Update version 1.0094=>1.00.109

  - Pet portlint
  - fix escaping of $ [1]

  PR:			233418 [1]
  Submitted by:		kevans [1]

Changes:
  head/databases/freetds/Makefile
  head/databases/freetds/distinfo