NetBSD Problem Report #830

From gnats  Tue Feb 28 00:01:12 1995
Received: from pain.lcs.mit.edu (pain.lcs.mit.edu [128.52.46.239]) by sun-lamp.cs.berkeley.edu (8.6.10/8.6.10) with ESMTP id AAA01336 for <gnats-bugs@sun-lamp.cs.berkeley.edu>; Tue, 28 Feb 1995 00:01:10 -0800
Message-Id: <199502280801.DAA28336@weaver.tsq-b.brown.edu>
Date: Tue, 28 Feb 1995 03:01:47 -0500
From: Mark_Weaver@brown.edu
Reply-To: Mark_Weaver@brown.edu
To: gnats-bugs@NetBSD.ORG
Subject: catclose(3) return type conflict
X-Send-Pr-Version: 3.2

>Number:         830
>Category:       lib
>Synopsis:       catclose(3) return type conflict
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    lib-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   mhw
>Arrival-Date:   Tue Feb 28 00:05:04 +0000 1995
>Closed-Date:    Wed Mar 01 00:09:27 +0000 1995
>Last-Modified:  
>Originator:     Mark Weaver
>Release:        NetBSD-current 2/26/95
>Organization:
Brown University Department of Computer Science
>Environment:
System: NetBSD weaver.tsq-b.brown.edu 1.0A NetBSD 1.0A (WEAVER) #0: Fri Feb 24 01:20:19 EST 1995 mhw@weaver.tsq-b.brown.edu:/usr/src/sys/arch/i386/compile/WEAVER i386


>Description:
The definition of catclose() in the .c and .h files says that it returns
void.  However, the man page says it returns int and the tclX source seems
to indicate it should return int as well.  I don't have the documentation
to resolve this conflict.
>How-To-Repeat:
>Fix:
>Release-Note:
>Audit-Trail:

State-Changed-From-To: open->analyzed
State-Changed-By: jtc
State-Changed-When: Tue Feb 28 23:55:39 1995
State-Changed-Why:
XPG3 says catclose should return int too.

State-Changed-From-To: analyzed->closed
State-Changed-By: jtc
State-Changed-When: Wed Mar  1 00:09:27 1995
State-Changed-Why:
Fixed.

>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.51 2026/08/10 02:28:17 riastradh Exp $
$NetBSD: gnats_config.sh,v 1.10 2026/05/13 22:00:09 riastradh Exp $
Copyright © 1994-2026 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.