NetBSD Problem Report #33125
From www@netbsd.org Wed Mar 22 06:32:53 2006
Return-Path: <www@netbsd.org>
Received: by narn.netbsd.org (Postfix, from userid 31301)
id AFE3A63B121; Wed, 22 Mar 2006 06:32:53 +0000 (UTC)
Message-Id: <20060322063253.AFE3A63B121@narn.netbsd.org>
Date: Wed, 22 Mar 2006 06:32:53 +0000 (UTC)
From: murray@river-styx.org
Reply-To: murray@river-styx.org
To: gnats-bugs@netbsd.org
Subject: POSIX, const char parameters for telldir and iconv
X-Send-Pr-Version: www-1.0
>Number: 33125
>Category: standards
>Synopsis: POSIX, const char parameters for telldir and iconv
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: standards-manager
>State: open
>Class: change-request
>Submitter-Id: net
>Arrival-Date: Wed Mar 22 06:35:00 +0000 2006
>Closed-Date:
>Last-Modified: Thu May 18 13:09:15 +0000 2006
>Originator: Murray Armfield
>Release: NetBSD-current
>Organization:
N/A
>Environment:
N/A
>Description:
1/ <dirent.h> defines
long telldir(const DIR *);
POSIX does not require the const.
2/ <iconv.h> defines
size_t iconv(iconv_t, const char ** __restrict,
size_t * __restrict, char ** __restrict,
size_t * __restrict);
POSIX does not require the const on the second argument.
>How-To-Repeat:
Inspect POSIX and the two header files
>Fix:
>Release-Note:
>Audit-Trail:
From: Takehiko NOZAKI <th-nozaki@netwrk.co.jp>
To: murray@river-styx.org
Cc: gnats-bugs@netbsd.org
Subject: Re: standards/33125: POSIX, const char parameters for telldir and iconv
Date: Wed, 22 Mar 2006 21:16:51 +0900
hi,
> 2/ <iconv.h> defines
> size_t iconv(iconv_t, const char ** __restrict,
> size_t * __restrict, char ** __restrict,
> size_t * __restrict);
> POSIX does not require the const on the second argument.
we've already disucced this confliction.
please read the thread of tech-userlevel that starts by the following mail.
http://mail-index.netbsd.org/tech-userlevel/2004/07/26/0001.html.
http://mail-index.netbsd.org/tech-userlevel/2004/07/
http://mail-index.netbsd.org/tech-userlevel/2004/08/
very truly yours.
--
Takehiko NOZAKI <tnozaki@netbsd.org>
From: David Brownlee <abs@NetBSD.org>
To: gnats-bugs@netbsd.org
Cc: standards-manager@netbsd.org, gnats-admin@netbsd.org,
netbsd-bugs@netbsd.org, murray@river-styx.org
Subject: Re: standards/33125: POSIX, const char parameters for telldir and
iconv
Date: Wed, 22 Mar 2006 13:53:49 +0000 (GMT)
On Wed, 22 Mar 2006, Takehiko NOZAKI wrote:
> please read the thread of tech-userlevel that starts by the following mail.
> http://mail-index.netbsd.org/tech-userlevel/2004/07/26/0001.html.
> http://mail-index.netbsd.org/tech-userlevel/2004/07/
> http://mail-index.netbsd.org/tech-userlevel/2004/08/
Possibly the relevant manpages should be updated with the
conclusion of that discussion...
--
David/absolute -- www.NetBSD.org: No hype required --
State-Changed-From-To: open->feedback
State-Changed-By: christos@netbsd.org
State-Changed-When: Thu, 18 May 2006 09:08:56 -0400
State-Changed-Why:
the telldir part is done
State-Changed-From-To: feedback->open
State-Changed-By: christos@netbsd.org
State-Changed-When: Thu, 18 May 2006 09:09:15 -0400
State-Changed-Why:
the iconv part is not done
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.