@@ -27,9 +27,9 @@ use vars qw($VERSION $RELEASE @ISA @EXPORT_OK %EXPORT_TAGS $AUTOLOAD @fileTypes
2727 %noWriteFile %magicNumber @langs $defaultLang %langName %charsetName
2828 %mimeType $swapBytes $swapWords $currentByteOrder %unpackStd
2929 %jpegMarker %specialTags %fileTypeLookup $testLen $exeDir
30- %static_vars $advFmtSelf) ;
30+ %static_vars $advFmtSelf $configFile @configFiles $noConfig ) ;
3131
32- $VERSION = ' 13.29 ' ;
32+ $VERSION = ' 13.30 ' ;
3333$RELEASE = ' ' ;
3434@ISA = qw( Exporter) ;
3535%EXPORT_TAGS = (
@@ -10047,8 +10047,9 @@ sub ProcessBinaryData($$$)
1004710047# ..............................................................................
1004810048# Load .ExifTool_config file from user's home directory
1004910049# (use of noConfig is now deprecated, use configFile = '' instead)
10050- until ($Image::ExifTool::noConfig ) {
10051- my $config = $Image::ExifTool::configFile ;
10050+ push @configFiles , $configFile if defined $configFile ;
10051+ until ($noConfig ) {
10052+ my $config = shift @configFiles ;
1005210053 my $file ;
1005310054 if (not defined $config ) {
1005410055 $config = ' .ExifTool_config' ;
@@ -10073,7 +10074,7 @@ until ($Image::ExifTool::noConfig) {
1007310074 shift @INC ;
1007410075 # print warning (minus "Compilation failed" part)
1007510076 $@ and $_ =$@ , s / Compilation failed.*// s , warn $_ ;
10076- last ;
10077+ last unless @configFiles ;
1007710078}
1007810079# read user-defined lenses (may have been defined by script instead of config file)
1007910080if (@Image::ExifTool::UserDefined::Lenses ) {
0 commit comments