diff options
author | David Kalnischkies <david@kalnischkies.de> | 2014-09-08 21:05:11 +0200 |
---|---|---|
committer | David Kalnischkies <david@kalnischkies.de> | 2014-09-08 21:05:11 +0200 |
commit | 223ae57d468fdcac451209a095047a07a5698212 (patch) | |
tree | 33ffbc3175d3950f04b50025e6338d244ad40672 /apt-pkg/deb/dpkgpm.h | |
parent | 4c559e97ba4cc0d3a2995b7c451e606539d2f1be (diff) |
rework PTY magic to fix stair-stepping on kfreebsd
A pty slave we have got from openpty can only be used for one dpkg
child, if we give it to a second child on kfreebsd setting TIOCSCTTY
fails causing the output to be stair-stepped from now on.
By switching the code to creating a master and opening a new slave in
the child for each child we can fix this glitch, so that at least the
master remains stable.
Closes: 759684
Diffstat (limited to 'apt-pkg/deb/dpkgpm.h')
-rw-r--r-- | apt-pkg/deb/dpkgpm.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apt-pkg/deb/dpkgpm.h b/apt-pkg/deb/dpkgpm.h index 859c74b46..2c1805015 100644 --- a/apt-pkg/deb/dpkgpm.h +++ b/apt-pkg/deb/dpkgpm.h @@ -110,6 +110,7 @@ class pkgDPkgPM : public pkgPackageManager // helper void BuildPackagesProgressMap(); void StartPtyMagic(); + void SetupSlavePtyMagic(); void StopPtyMagic(); // input processing |