bug-gnulib
[Top][All Lists]
Advanced

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

Re: [PATCH] getaddrinfo: fix gai_strerror signature


From: Paolo Bonzini
Subject: Re: [PATCH] getaddrinfo: fix gai_strerror signature
Date: Fri, 29 Apr 2011 13:09:38 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.15) Gecko/20110307 Fedora/3.1.9-0.39.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.9

On 04/29/2011 01:34 AM, Eric Blake wrote:
Worse, on mingw, if UNICODE is defined, it is defined
to return WCHAR*, which means the result is in unicode but an
application expecting bytes for characters will only see a one-byte
answer.

AFAIR, Bruno didn't like introducing special hacks for the mingw "A" suffix, but I think in this case it's warranted (we're fixing the return type anyway).

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]