From: Chris Hanson Date: Fri, 3 Nov 1995 01:23:41 +0000 (+0000) Subject: Fix bug: don't signal an error when the type of a file handle can't be X-Git-Tag: 20090517-FFI~5793 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=3c9005b0c02b80424a867d2ee48a7ead450d51f1;p=mit-scheme.git Fix bug: don't signal an error when the type of a file handle can't be determined. Instead, just treat it like a pipe, which is operationally the least common denominator. --- diff --git a/v7/src/microcode/os2io.c b/v7/src/microcode/os2io.c index fe7845ee7..5d5a11091 100644 --- a/v7/src/microcode/os2io.c +++ b/v7/src/microcode/os2io.c @@ -1,6 +1,6 @@ /* -*-C-*- -$Id: os2io.c,v 1.4 1995/04/28 06:45:37 cph Exp $ +$Id: os2io.c,v 1.5 1995/11/03 01:23:41 cph Exp $ Copyright (c) 1994-95 Massachusetts Institute of Technology @@ -155,8 +155,10 @@ handle_channel_type (LHANDLE handle) return (channel_type_unnamed_pipe); } } - OS2_error_anonymous (); - return (channel_type_unknown); + /* Anything that can't be recognized should be treated as a pipe. + This is safe since pipes aren't assumed to have any special + properties. */ + return (channel_type_unnamed_pipe); } static void