From d434d417985ffaa0d8e034bddcf2ffa68e600ff0 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Fri, 25 Apr 2003 19:49:47 +0000 Subject: [PATCH] Use QID_NONE rather than 0 for the non-abstract channel descriptor. The value 0 could be confused with a real qid. --- v7/src/microcode/pros2io.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/v7/src/microcode/pros2io.c b/v7/src/microcode/pros2io.c index 4637a6f0e..a584cb947 100644 --- a/v7/src/microcode/pros2io.c +++ b/v7/src/microcode/pros2io.c @@ -1,6 +1,6 @@ /* -*-C-*- -$Id: pros2io.c,v 1.12 2003/04/25 05:13:14 cph Exp $ +$Id: pros2io.c,v 1.13 2003/04/25 19:49:47 cph Exp $ Copyright 1994,1995,1997,2000,2003 Massachusetts Institute of Technology @@ -45,7 +45,7 @@ DEFINE_PRIMITIVE ("CHANNEL-DESCRIPTOR", Prim_channel_descriptor, 1, 1, 0) (LONG_TO_UNSIGNED_FIXNUM ((CHANNEL_ABSTRACT_P (channel)) ? (OS2_channel_thread_descriptor (channel)) - : 0)); + : QID_NONE)); } } -- 2.25.1