Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: using getaddrinfo/getnameinfo



On May 25,  9:25pm, Clint Adams wrote:
} Subject: Re: using getaddrinfo/getnameinfo
}
} On Wed, May 23, 2007 at 07:25:37PM -0700, Bart Schaefer wrote:
} > Wouldn't it be better to #ifdef it on a configure parameter?  Prefer the
} > newer functions if they are present, obviously.
} 
} Possibly, though given its intrusiveness, that'd look a tad messy

Create zget* wrapper functions, put the #ifdef's in there, and change
the calls scattered elsewhere to use the zget variants.

} I presumed that getaddrinfo() was pretty prevalent.

It might very well be, but zsh compiles on some pretty crufty OSs/hardware.



Messages sorted by: Reverse Date, Date, Thread, Author