Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: using getaddrinfo/getnameinfo
- X-seq: zsh-workers 23470
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: using getaddrinfo/getnameinfo
- Date: Sat, 26 May 2007 11:24:59 -0700
- In-reply-to: <20070526012545.GA14364@xxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <20070523195532.GA7139@xxxxxxxxxxx> <070523192537.ZM7842@xxxxxxxxxxxxxxxxxxxxxx> <20070526012545.GA14364@xxxxxxxxxxx>
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