Skip to Content.
Sympa Menu

sm-discuss - Re: [SM-Discuss] [RFC] Compressed filetype detection (Bug #16011)

sm-discuss AT lists.ibiblio.org

Subject: Public SourceMage Discussion List

List archive

Chronological Thread  
  • From: Ismael Luceno <ismael.luceno AT gmail.com>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] [RFC] Compressed filetype detection (Bug #16011)
  • Date: Sun, 15 May 2016 00:09:53 -0300

On 14/May/2016 18:31, Pavel Vinogradov wrote:
> That's mawk 1.3.4-20150503.

Weird, I am testing against that version and it doesn't print
anything... would you mind to report the output of `mawk -W version`,
it may have something to do with the regex support.

I am thinking about using `od` instead of matching binary data,
to be safe, but I wish to investigated those issues anyway.

> On Sat, May 14, 2016 at 07:05:21PM -0300, Ismael Luceno wrote:
> > On 14/May/2016 16:00, Pavel Vinogradov wrote:
> > > $ ./compguess /var/spool/sorcery/mesalib-git.tar.xz
> > > awk: ignoring embedded null in pattern
> > > awk: ignoring embedded null in pattern
> > > xz
> > >
> >
> > Seems version 4.1.3 of gawk doesn't output any warning, is that
> > version 4.1.1?
> >
> > Also there seems to be a bug in how gawk matches the regular expression
> > to the buffer in version 4.1.3 (it fails on .xz files only), which
> > might mean version 4.1.1 is also broken. I need to investigate the
> > issue further.




Archive powered by MHonArc 2.6.24.

Top of Page