NetBSD Problem Report #1035
From gnats Mon May 8 08:41:06 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 IAA16702 for <gnats-bugs@sun-lamp.cs.berkeley.edu>; Mon, 8 May 1995 08:41:05 -0700
Message-Id: <199505081541.RAA01197@piau.df.lth.se>
Date: Mon, 8 May 1995 17:41:20 +0200
From: Peter Svensson <petersv@df.lth.se>
Reply-To: petersv@df.lth.se
To: gnats-bugs@NetBSD.ORG
Subject: Conflicting types in src/sys/lib/libsa/open.c
X-Send-Pr-Version: 3.2
>Number: 1035
>Category: kern
>Synopsis: mismatch of type in open in libsa/open.c
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: kern-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon May 08 08:50:01 +0000 1995
>Closed-Date: Wed May 10 15:29:59 +0000 1995
>Last-Modified:
>Originator: Peter Svensson
>Release: 950507<NetBSD-current source date>
>Organization:
The Computer Society at Lund Univ. and Lund Inst. of Technology
" "
>Environment:
Sun SparcStation 1.0, running NetBSD current
System: NetBSD piau.df.lth.se 1.0A NetBSD 1.0A (PIAU.SCSI) #2: Thu Jan 19 13:46:27 PST 1995 petersv@piau.df.lth.se:/usr/src/sys/arch/sparc/compile/PIAU.SCSI sparc
>Description:
The function "open" in /usr/src/sys/lib/libsa/open.c is declared
differently from its declaration in /usr/src/sys/lib/libsa/stand.h. The
declaration in stand.h omits "const" for the filename. Const is used in
open.c.
>How-To-Repeat:
cd /usr/src/sys/lib/libsa ; make
>Fix:
Add "const" to type of filename in the declaration of "open" in stand.h.
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: jtc
State-Changed-When: Wed May 10 15:29:59 1995
State-Changed-Why:
Duplicate of PR 1004 -- Fixed by cgd on Apr 30th.
>Unformatted:
(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.