Changeset 197

Show
Ignore:
Timestamp:
01/12/06 22:54:07 (6 years ago)
Author:
usu
Message:

* MMagic.pm (magicMatchStr): Fixed Bug. Enbuged at Chageset 194.

Location:
MMagic/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • MMagic/trunk/ChangeLog

    r196 r197  
     12006-01-12  Yukio USUDA  <usu@namazu.org> 
     2 
     3        * MMagic.pm (magicMatchStr): Fixed Bug. Enbuged at Chageset 194. 
     4 
    152006-01-11  NOKUBI Takatsugu  <knok@daionet.gr.jp> 
    26 
  • MMagic/trunk/MMagic.pm

    r195 r197  
    918918    if (@$item == 3){ 
    919919        my $tmp = readMagicLine(@$item); 
     920 
     921        # $item could be undef if we ran into troubles while reading 
     922        # the entry. 
     923        return unless defined($tmp); 
     924 
    920925        @$item = @$tmp; 
    921926    } 
    922  
    923     # $item could be undef if we ran into troubles while reading 
    924     # the entry. 
    925     return unless defined($item); 
    926927 
    927928    # $fh is not be defined if -c.  that way we always return