tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: iconv(3) and POSIX

Martin Husemann <> writes:

> On Thu, Jan 03, 2013 at 01:21:17PM -0500, Greg Troxel wrote:
>> and this causes git to declare OLD_ICONV for NetBSD.  Our iconv_open
>> also declares both arguments const, contrary to POISX.
> Both are const char * in posix as well:

Sorry, I misread on iconv_open.

>> So is this as bug to fix in the prototype?   Or if not, how should the
>> manpage be changed?
> The prototype should be fixed to "char **restrict src".

I'll change it and see if there is build fallout.  If not, any
objections to dropping the const?

Attachment: pgpUXv1MwOn8m.pgp
Description: PGP signature

Home | Main Index | Thread Index | Old Index