public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug manual/2963] New: const in iconv arg 2
@ 2006-07-26 19:49 gin at mo dot msk dot ru
  2006-08-14 15:22 ` [Bug manual/2963] " gin at mo dot msk dot ru
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: gin at mo dot msk dot ru @ 2006-07-26 19:49 UTC (permalink / raw)
  To: glibc-bugs

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.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2006-09-21  4:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-26 19:49 [Bug manual/2963] New: const in iconv arg 2 gin at mo dot msk dot ru
2006-08-14 15:22 ` [Bug manual/2963] " gin at mo dot msk dot ru
2006-08-14 15:26 ` gin at mo dot msk dot ru
2006-08-15 16:24 ` gin at mo dot msk dot ru
2006-09-21  4:11 ` aj at suse dot de

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).