summaryrefslogtreecommitdiff
path: root/apt-pkg/acquire.cc
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2020-02-26 14:51:05 +0000
committerJulian Andres Klode <jak@debian.org>2020-02-26 14:51:05 +0000
commita096b580694cb36f29cdbce8f1db797a08e36709 (patch)
tree8a1bf6106868761042c80e04fdeff1077779ac18 /apt-pkg/acquire.cc
parentb31040e9c1441a2a7296ce3ff12f5052fc522366 (diff)
parentda01dabb86396a1391f081fa54a806e2d7b62133 (diff)
Merge branch 'pu/cleanups' into 'master'
Cleanup ABI - make stuff virtual, etc See merge request apt-team/apt!106
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