Martin Husemann <martin%duskware.de@localhost> 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: > > http://pubs.opengroup.org/onlinepubs/9699919799/functions/iconv_open.html 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?
Description: PGP signature