summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2016-08-23 13:24:54 +0200
committerJulian Andres Klode <jak@debian.org>2016-08-23 17:48:48 +0200
commitd651c4cd71a43c385c3d3bcd3a9f25bf0a67f8f2 (patch)
tree0764e00e74fc1202cf2efde72495a7b0c4d0f015
parent3fbd67460e1c4c38a79d00f09bf3113a39abbeca (diff)
install-progress: Call the real ::fork() in our fork() method
We basically called ourselves before, creating an endless loop. Reported-By: clang
-rw-r--r--apt-pkg/install-progress.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/install-progress.h b/apt-pkg/install-progress.h
index 23ddbbec6..b5c133676 100644
--- a/apt-pkg/install-progress.h
+++ b/apt-pkg/install-progress.h
@@ -38,7 +38,7 @@ namespace Progress {
*/
virtual void StartDpkg() {};
- virtual pid_t fork() {return fork(); };
+ virtual pid_t fork() {return ::fork(); };
virtual void Pulse() {};
virtual long GetPulseInterval() {