diff options
author | Julian Andres Klode <jak@debian.org> | 2016-08-23 13:24:54 +0200 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2016-10-05 21:53:38 +0200 |
commit | a62eebe5dea48a0274b118a1ea339bc0d1528625 (patch) | |
tree | ce220b381012ff5cbe79c8df7e3cb34997643e63 /apt-pkg/install-progress.h | |
parent | f5aa6a782f1a8bcf08b572415ec6b521e11a8d82 (diff) |
install-progress: Call the real ::fork() in our fork() method
We basically called ourselves before, creating an endless loop.
Reported-By: clang
(cherry picked from commit d651c4cd71a43c385c3d3bcd3a9f25bf0a67f8f2)
Diffstat (limited to 'apt-pkg/install-progress.h')
-rw-r--r-- | apt-pkg/install-progress.h | 2 |
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() { |