1. Shlomi Fish
  2. perl-Config-IniFiles

Commits

Shlomi Fish  committed ce7e709

Bug fix: apparently the string is not entirely fully octal.

It can have a leading zero.

  • Participants
  • Parent commits a46d493
  • Branches default
  • Tags releases/2.72

Comments (0)

Files changed (1)

File config-inifiles/lib/Config/IniFiles.pm

View file
 {
     my ($self, $mode) = @_;
 
-    if (not (defined($mode) && ($mode =~ m/\A[0-7]{3}\z/)))
+    if (not (defined($mode) && ($mode =~ m/[0-7]{3}/)))
     {
         return undef;
     }