From 9d826ef2087381a1241029671ca942718c3a19d9 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Mitsuharu Date: Mon, 24 Dec 2007 05:26:06 +0000 Subject: [PATCH] (make_process): Initialize pty_flag to Qnil instead of 0 as it is not a bit field on Emacs 22 yet. --- src/ChangeLog | 3 +++ src/process.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index 2a8fc8e3f17..c0b86a16593 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,8 @@ 2007-12-24 YAMAMOTO Mitsuharu + * process.c (make_process): Initialize pty_flag to Qnil instead of 0 + as it is not a bit field on Emacs 22 yet. + * xdisp.c (phys_cursor_in_rect_p): Check if cursor is in fringe area. 2007-12-23 YAMAMOTO Mitsuharu diff --git a/src/process.c b/src/process.c index adf8af9670d..eb0dae04e96 100644 --- a/src/process.c +++ b/src/process.c @@ -626,7 +626,7 @@ make_process (name) XSETFASTINT (p->tick, 0); XSETFASTINT (p->update_tick, 0); p->pid = 0; - p->pty_flag = 0; + p->pty_flag = Qnil; p->raw_status_new = 0; p->status = Qrun; p->mark = Fmake_marker (); -- 2.39.2