On Sat, Sep 21, 2013 at 03:47:10PM +0200, Mark Edgar wrote:
> I noticed that pty numbers are never recycled after closing each window.
Good, catch. I applied a slightly different patch and noticed some
ugliness regarding (Client->pty, vt_getpty, Vt->pty) ...
Thanks,
Marc
--
Marc André Tanner
I noticed that pty numbers are never recycled after closing each window.
-Mark
diff --git a/dvtm.c b/dvtm.c
index bff057b..ae0c8f2 100644
--- a/dvtm.c
+++ b/dvtm.c
@@ -665,6 +665,7 @@ setup() {
static void
destroy(Client *c) {
+ close(c->pty);
if (sel == c)
f