Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-11-28 | close leaking slave fd after setting up pty magic | David Kalnischkies | |
The fd moves out of scope here anyway, so we should close it properly instead of leaking it which will tickle down to dpkg maintainer scripts. Closes: 767774 | |||
2014-04-30 | Only do openpty() if both stdin/stdout are terminals | Michael Vogt | |
Closes: 746434 | |||
2014-03-22 | ensure proper teardown in dpkg error cases | David Kalnischkies | |
We have to properly close our pseudo terminals even in error cases before we call post-invoke scripts. This is done now by breaking from the dpkg calling loop instead of copying the handling, which did it in the wrong order before. This also ensures that our state file is written in error cases to record autobit and co as this was forgotten before. Closes: 738969 |