On Wed, Nov 20, 2013 at 3:45 PM, neil.lunn <n...@mylunn.id.au> wrote:

>   2.3.1.2. Compliance
>
>
>          A compliant compressor must produce files with correct ID1,
>          ID2, CM, CRC32, and ISIZE, but may set all the other fields in
>          the fixed-length part of the header to default values (255 for
>          OS, 0 for all others).  The compressor must set all reserved
>          bits to zero.
>
> </snip>
>

Seems noncompliance may be rampant.

Anyway, sounds like Catalyst isn't quite supporting this kind of file
handle as expected.   John, is there anything you would want me to try?




$ perl -MIO::Uncompress::Gunzip -le 'use Data::Dumper; print Dumper
+IO::Uncompress::Gunzip->new( "Catalyst-Runtime-5.90051.tar.gz"
)->getHeaderInfo'
$VAR1 = {
          'Time' => 1383843952,
          'Flags' => 8,
          'TextFlag' => 0,
          'MethodID' => 8,
          'ExtraField' => [],
          'CommentFlag' => 0,
          'Type' => 'rfc1952',
          'NameFlag' => 1,
          'ExtraFlags' => 2,
          'HeaderCRC' => undef,
          'isMinimalHeader' => 0,
          'MethodName' => 'Deflated',
          'ExtraFlag' => 0,
          'HeaderLength' => 39,
          'ExtraFieldRaw' => undef,
          'Comment' => undef,
          'OsName' => 'Unix',
          'FingerprintLength' => 2,
          'HeaderCRCFlag' => 0,
          'OsID' => 3,
          'TrailerLength' => 8,
          'Name' => 'Catalyst-Runtime-5.90051.tar',
          'Header' => p�{RCatalyst-Runtime-5.90051.tar'
        };



-- 
Bill Moseley
mose...@hank.org
_______________________________________________
List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/

Reply via email to