Package: file
Version: 5.11-2+deb7u2
Severity: important

Dear Maintainer,
since the last update, "file" doesn't recognize correctly any perl-script which 
has a BEGIN{} block in its header.

Example script:
--------------
#!/usr/bin/perl -w
use strict;

BEGIN {
   if ( !$ENV{'PERL_MODULES'} ) {
      $ENV{'PERL_MODULES'}= '/srv/fai/config/perl_modules';
   }
   unshift @INC, $ENV{'PERL_MODULES'};
}

use FAI;
use NFS::Clients;

....
--------------


Output:
------

file  5.11-2+deb7u1: (output correct)
        file -bL 10-create-directories 
            a /usr/bin/perl -w script text executable

file  5.11-2+deb7u2: (output wrong)
        file -bL 10-create-directories 
            awk script, ASCII text

Regards
R. Bleisch

-- System Information:
Debian Release: 7.4
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages file depends on:
ii  libc6      2.13-38+deb7u1
ii  libmagic1  5.11-2+deb7u2
ii  zlib1g     1:1.2.7.dfsg-13

file recommends no packages.

file suggests no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to