From: Chris Hanson Date: Fri, 25 Apr 2003 19:49:47 +0000 (+0000) Subject: Use QID_NONE rather than 0 for the non-abstract channel descriptor. X-Git-Tag: 20090517-FFI~1910 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=d434d417985ffaa0d8e034bddcf2ffa68e600ff0;p=mit-scheme.git Use QID_NONE rather than 0 for the non-abstract channel descriptor. The value 0 could be confused with a real qid. --- 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)); } }