summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog3
-rw-r--r--src/process.c2
2 files changed, 4 insertions, 1 deletions
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 <mituharu@math.s.chiba-u.ac.jp>
+ * 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 <mituharu@math.s.chiba-u.ac.jp>
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 ();