This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug manual/2963] New: const in iconv arg 2


Versions: all known, from 2.2.4 to 2.4.  This is why leaving version
unspecified.

`iconv' arg 2 is documented and declared in `iconv.h' to be `char
**__restrict'.

<http://www.opengroup.org/onlinepubs/007908799/xsh/iconv.html>
specifies it to be `const char **'.  So do
<http://www.opengroup.org/products/publications/catalog/u055.htm>.

Those specifications may be wrong in some way, and there may be strong
reasons to leave the interface as it is.  But <(libc) Generic
Conversion Interface> neither states that specifications are
considered wrong in this way nor explains why the interface being
described should remain as it is.

<(libc) Generic Charset Conversion>, and many other <(libc)> sections,
do include even <comparisons with other implementations>, not
considering this improper.  Design considerations wrt standard
conformance are at least just as proper there.

-- 
           Summary: const in iconv arg 2
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: minor
          Priority: P2
         Component: manual
        AssignedTo: roland at gnu dot org
        ReportedBy: gin at mo dot msk dot ru
                CC: glibc-bugs at sources dot redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=2963

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]