From 0277bfa1a48855f8d79b2f05a026d5763d9b495c Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Mon, 3 Dec 2007 00:41:15 +0000 Subject: [PATCH] (make_process): Initialize pty_flag to 0. --- src/ChangeLog | 4 ++++ src/process.c | 1 + 2 files changed, 5 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index 002c442b376..87f9894f488 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2007-12-02 Magnus Henoch + + * process.c (make_process): Initialize pty_flag to 0. + 2007-12-02 Jason Rumney * image.c (xbm_load) [WINDOWSNT]: Shuffle the bits of directly diff --git a/src/process.c b/src/process.c index 013aad40117..adf8af9670d 100644 --- a/src/process.c +++ b/src/process.c @@ -626,6 +626,7 @@ make_process (name) XSETFASTINT (p->tick, 0); XSETFASTINT (p->update_tick, 0); p->pid = 0; + p->pty_flag = 0; p->raw_status_new = 0; p->status = Qrun; p->mark = Fmake_marker (); -- 2.39.2