Subject: Re: Behaviour of catclose()
To: Jesus M. Gonzalez <>
From: J.T. Conklin <>
List: netbsd-users
Date: 11/18/1994 07:46:06
>         It seems that NetBSD's catclose returns a void value, which
> gcc doesn't like as a value returned from an expression... The offending
> code is:
> 	Before sending the patch to tclX people, I'd like to
> know if this is the expected behaviour of both gcc and catclose.
> And if somedy knows if this is only NetBSD's way, or is more
> generic.

You have discovered a bug.  XPG3 says that catclose is to return an int.  
I've just fixed the post-1.0 sources.