Subject: standards/33125: POSIX, const char parameters for telldir and iconv
To: None <standards-manager@netbsd.org, gnats-admin@netbsd.org,>
From: None <murray@river-styx.org>
List: netbsd-bugs
Date: 03/22/2006 06:35:00
>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
>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: