summaryrefslogtreecommitdiff
path: root/apt-pkg/acquire.cc
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2020-02-26 14:01:09 +0100
committerJulian Andres Klode <julian.klode@canonical.com>2020-02-26 14:10:47 +0100
commitddc9023474f079d995e07fc1cdffb81865fa9eb2 (patch)
tree3ce28731aaf333f8d35b63db418a6f420c9e70a6 /apt-pkg/acquire.cc
parente886ff0a6e66362e1a8f8c53977bf062cec0da12 (diff)
Merge pkgAcquire::RunFdsSane back into RunFds
Diffstat (limited to 'apt-pkg/acquire.cc')
-rw-r--r--apt-pkg/acquire.cc12
1 files changed, 3 insertions, 9 deletions
diff --git a/apt-pkg/acquire.cc b/apt-pkg/acquire.cc
index 8ebac6d2a..fffe76f46 100644
--- a/apt-pkg/acquire.cc
+++ b/apt-pkg/acquire.cc
@@ -536,18 +536,12 @@ void pkgAcquire::SetFds(int &Fd,fd_set *RSet,fd_set *WSet)
}
}
/*}}}*/
-// Acquire::RunFds - compatibility remove on next abi/api break /*{{{*/
-void pkgAcquire::RunFds(fd_set *RSet,fd_set *WSet)
-{
- RunFdsSane(RSet, WSet);
-}
- /*}}}*/
-// Acquire::RunFdsSane - Deal with active FDs /*{{{*/
+// Acquire::RunFds - Deal with active FDs /*{{{*/
// ---------------------------------------------------------------------
/* Dispatch active FDs over to the proper workers. It is very important
that a worker never be erased while this is running! The queue class
should never erase a worker except during shutdown processing. */
-bool pkgAcquire::RunFdsSane(fd_set *RSet,fd_set *WSet)
+bool pkgAcquire::RunFds(fd_set *RSet,fd_set *WSet)
{
bool Res = true;
@@ -726,7 +720,7 @@ pkgAcquire::RunResult pkgAcquire::Run(int PulseIntervall)
break;
}
- if(RunFdsSane(&RFds,&WFds) == false)
+ if(RunFds(&RFds,&WFds) == false)
break;
// Timeout, notify the log class