Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
gethostbyname2() tweak
- X-seq: zsh-workers 13981
- From: Wayne Davison <wayned@xxxxxxxxxxxxxxxxxxxxx>
- To: Zsh Workers <zsh-workers@xxxxxxxxxxxxxx>
- Subject: gethostbyname2() tweak
- Date: Fri, 13 Apr 2001 10:01:27 -0700 (PDT)
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
I went ahead and committed a change that I tossed in as an extra in a
previous, uncommitted patch:
Don't define gethostbyname2() as static, since it can clash with the
system header files on a system that provides the prototype but not
the object.
The change is trivial:
Index: Src/Modules/zftp.c
@@ -220,7 +220,7 @@
# ifndef HAVE_GETHOSTBYNAME2
/**/
-static struct hostent *
+struct hostent *
gethostbyname2(char const *name, int af)
{
if(af != AF_INET) {
..wayne..
Messages sorted by:
Reverse Date,
Date,
Thread,
Author