* apt-pkg/contrib/configuration.cc:
- fix double delete (LP: #848907)
- ignore only the invalid regexp instead of all options
- clearPatterns();
- _error->Warning("Regex compilation error for '%s' in configuration option '%s'",
- s->c_str(), Config);
- return;
+ _error->Warning("Invalid regular expression '%s' in configuration "
+ "option '%s' will be ignored.",
+ s->c_str(), Config);
+ continue;
}
}
if (strings.size() == 0)
}
}
if (strings.size() == 0)
regfree(*p);
delete *p;
}
regfree(*p);
delete *p;
}
}
/*}}}*/
// MatchAgainstConfig::Match - returns true if a pattern matches /*{{{*/
}
/*}}}*/
// MatchAgainstConfig::Match - returns true if a pattern matches /*{{{*/
+apt (0.8.16~exp5ubuntu8) UNRELEASEDoneiric; urgency=low
+
+ * cherry pick r1825 from lp:~mvo/apt/mvo:
+ * apt-pkg/contrib/configuration.cc:
+ - fix double delete (LP: #848907)
+ - ignore only the invalid regexp instead of all options
+
+ -- Michael Vogt <michael.vogt@ubuntu.com> Tue, 13 Sep 2011 16:22:20 +0200
+
apt (0.8.16~exp5ubuntu7) oneiric; urgency=low
[ Michael Vogt ]
apt (0.8.16~exp5ubuntu7) oneiric; urgency=low
[ Michael Vogt ]