Bug#82660: libapt-pkg-dev likely typo in algorithms.cc
Package: libapt-pkg-dev
Version: 0.3.19
I believe that in algorithms.cc on line 320 the string
"APT::Ingore-Hold"
was intended to be
"APT::Ignore-Hold"
The manual page refers to APT::Ignore as does other source code (see
below).
I have no indication that this causes a problem but it might be relate
to bug #78042.
A search of the apt-0.3.19 source yields more instances of the spelling
"Ingore":
bash-2.04$ grep 'APT::Ingore' $(find apt-0.3.19 -name '*.cc' -print)
apt-0.3.19/apt-pkg/algorithms.cc: if
(_config->FindB("APT::Ingore-Hold",false) == false)
apt-0.3.19/cmdline/apt-get.cc: if
(_config->FindB("APT::Ingore-Hold",false) == false)
apt-0.3.19/cmdline/apt-get.cc:
{0,"ignore-hold","APT::Ingore-Hold",0},
apt-0.3.19/debian/cvs-build/apt-0.3.19/apt-pkg/algorithms.cc: if
(_config->FindB("APT::Ingore-Hold",false) == false)
apt-0.3.19/debian/cvs-build/apt-0.3.19/cmdline/apt-get.cc: if
(_config->FindB("APT::Ingore-Hold",false) == false)
apt-0.3.19/debian/cvs-build/apt-0.3.19/cmdline/apt-get.cc:
{0,"ignore-hold","APT::Ingore-Hold",0},
And a few instances of the spelling "Ignore"
bash-2.04$ grep 'APT::Ignore' $(find apt-0.3.19 -name '*.cc' -print)
apt-0.3.19/apt-pkg/algorithms.cc: if
(_config->FindB("APT::Ignore-Hold",false) == false)
apt-0.3.19/debian/cvs-build/apt-0.3.19/apt-pkg/algorithms.cc: if
(_config->FindB("APT::Ignore-Hold",false) == false)
Reply to: