[MacPorts] #41602: Incorrect Behavior: regex error 17

MacPorts noreply at macports.org
Fri Nov 29 13:17:37 PST 2013


#41602: Incorrect Behavior:     regex error 17
-------------------------+--------------------------------
  Reporter:  mmdonley@…  |      Owner:  macports-tickets@…
      Type:  defect      |     Status:  closed
  Priority:  Normal      |  Milestone:
 Component:  ports       |    Version:  2.2.1
Resolution:  duplicate   |   Keywords:  mavericks
      Port:  file        |
-------------------------+--------------------------------
Changes (by ryandesign@…):

 * keywords:  regex illegal byte sequence => mavericks
 * status:  new => closed
 * resolution:   => duplicate


Old description:

> Output from /opt/local/bin/file (5.1.5 from MacPorts) vs
> Output from /usr/bin/file (5.0.4 from Apple)
>
> $ file dog
> dog: ERROR: line 163: regex error 17, (illegal byte sequence)
> $ file results.tar
> results.tar: bzip2 compressed data, block size = 900k
> $ file final.txt
> final.txt: ERROR: line 163: regex error 17, (illegal byte sequence)
> $ file logz.nb
> logz.nb: ERROR: line 163: regex error 17, (illegal byte sequence)
>
> $ /usr/bin/file dog
> dog: ASCII English text
> $ /usr/bin/file results.tar
> results.tar: bzip2 compressed data, block size = 900k
> $ /usr/bin/file final.txt
> final.txt: UTF-8 Unicode English text
> $ /usr/bin/file logz.nb
> logz.nb: ASCII text

New description:

 Output from /opt/local/bin/file (5.1.5 from MacPorts) vs
 Output from /usr/bin/file (5.0.4 from Apple)

 {{{
 $ file dog
 dog: ERROR: line 163: regex error 17, (illegal byte sequence)
 $ file results.tar
 results.tar: bzip2 compressed data, block size = 900k
 $ file final.txt
 final.txt: ERROR: line 163: regex error 17, (illegal byte sequence)
 $ file logz.nb
 logz.nb: ERROR: line 163: regex error 17, (illegal byte sequence)
 }}}

 {{{
 $ /usr/bin/file dog
 dog: ASCII English text
 $ /usr/bin/file results.tar
 results.tar: bzip2 compressed data, block size = 900k
 $ /usr/bin/file final.txt
 final.txt: UTF-8 Unicode English text
 $ /usr/bin/file logz.nb
 logz.nb: ASCII text
 }}}

--

Comment:

 Duplicate of #41069.

-- 
Ticket URL: <https://trac.macports.org/ticket/41602#comment:1>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list