[MPlayer-dev-eng] [PATCH] mp_msg.c - iconv poiners

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Sat Nov 24 11:55:10 CET 2007


Hello,
On Sat, Nov 24, 2007 at 11:52:23AM +0100, Reimar Döffinger wrote:
> On Sat, Nov 24, 2007 at 06:45:41PM +0800, Zuxy Meng wrote:
> > 2007/11/24, Reimar Döffinger <Reimar.Doeffinger at stud.uni-karlsruhe.de>:
> > > On Sat, Nov 24, 2007 at 02:06:28AM -0800, Chris Welton wrote:
> > > > The inbuf on iconv is const char**, not char**
> > >
> > > No it is not, your system is not POSIX-compatible if it uses const.
> > 
> > IIRC Linux manpage shows that inbuf is of type const char**. I've no
> > idea the definition of POSIX-compatible though :-)
> 
> I read both the Linux man page and the SUSv3 specification, both have
> char**.

Btw. the BSDs seem to go with the UNIX98 spec and use const. But for
MPlayer POSIX is relevant.



More information about the MPlayer-dev-eng mailing list