Changeset 244


Ignore:
Timestamp:
05/03/06 13:56:25 (18 years ago)
Author:
nanardon
Message:
  • lha list files differently if he archive come from DOS/Windows or unix, then adding a regexp to proper filter only files in the list for all case, ->ls() should no longer return files named "----------"
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/soft/ObsData/ObsData/Archive/Lha.pm

    r241 r244  
    3131    while(<$hlha>) { 
    3232        chomp; 
     33        /^(\[\w*\]|(-|d|l|c|b)((-|r)(-|w)(-|x)){3} [^-])/ or next; 
    3334        /^.{51}(.*)$/; 
    3435        push(@list, $1); 
Note: See TracChangeset for help on using the changeset viewer.