From: Julian Andres Klode Date: Tue, 23 Aug 2016 11:24:54 +0000 (+0200) Subject: install-progress: Call the real ::fork() in our fork() method X-Git-Tag: 1.3_rc3~20 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/d651c4cd71a43c385c3d3bcd3a9f25bf0a67f8f2 install-progress: Call the real ::fork() in our fork() method We basically called ourselves before, creating an endless loop. Reported-By: clang --- 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() {