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: Pavel Vinogradov <vin.public AT gmail.com>
  • To: sm-discuss AT lists.ibiblio.org
  • Subject: Re: [SM-Discuss] [RFC] Compressed filetype detection (Bug #16011)
  • Date: Sat, 14 May 2016 23:22:15 -0400

$ mawk -W version
mawk 1.3.4 20150503
Copyright 2008-2014,2015, Thomas E. Dickey
Copyright 1991-1996,2014, Michael D. Brennan

random-funcs: srandom/random
regex-funcs: external
compiled limits:
sprintf buffer 8192
maximum-integer 2147483647

On Sun, May 15, 2016 at 12:09:53AM -0300, Ismael Luceno wrote:
> 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.
> _______________________________________________
> SM-Discuss mailing list
> SM-Discuss AT lists.ibiblio.org
> http://lists.ibiblio.org/mailman/listinfo/sm-discuss

--
Sincerely,
Pavel Vinogradov

Attachment: signature.asc
Description: PGP signature




Archive powered by MHonArc 2.6.24.

Top of Page