cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: getnameinfo() args

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Wed, 14 Dec 2005 12:23:55 -0800

On Wed, Dec 14, 2005 at 08:15:44PM +0100, Yang Tse wrote:
> An experimental check for getnameinfo() argument types named
> CURL_FUNC_GETNAMEINFO_ARGTYPES has been commited to CVS.
>
> http://cool.haxx.se/cvs.cgi/curl/acinclude.m4?rev=1.56&content-type=text/vnd.viewcvs-markup
>
> _Any_ comments are welcome.

Here are a couple:

- What is the | sed 's/\*/\*/g' clause for? It looks like a no-op to me.
- You need to #include stdio.h or stddef.h to guarantee NULL will be defined;
maybe just use 0 instead.
- Some preprocessors have problems if the # character isn't at position 1.

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2005-12-14