[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: getaddrinfo, netdb, canon-host
From: |
Simon Josefsson |
Subject: |
Re: getaddrinfo, netdb, canon-host |
Date: |
Mon, 20 Oct 2008 09:59:32 +0200 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/22.2 (gnu/linux) |
Jim, the canon-host module needs this patch to work with the latest
changes in the getaddrinfo module.
/Simon
>From d6843ea1869f2c5762179de1699c0c12d357277a Mon Sep 17 00:00:00 2001
From: Simon Josefsson <address@hidden>
Date: Mon, 20 Oct 2008 09:59:07 +0200
Subject: [PATCH] canon-host: Include netdb.h instead of getaddrinfo.h.
---
ChangeLog | 4 ++++
lib/canon-host.c | 5 ++---
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 808510e..a69fb9e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
2008-10-20 Simon Josefsson <address@hidden>
+ * lib/canon-host.c: Include netdb.h instead of getaddrinfo.h.
+
+2008-10-20 Simon Josefsson <address@hidden>
+
* lib/getaddrinfo.h: Remove file.
* modules/getaddrinfo: Reflect move from getaddrinfo.h to netdb.h.
* m4/getaddrinfo.m4: Call gl_HEADER_NETDB. Don't check for netdb.h.
diff --git a/lib/canon-host.c b/lib/canon-host.c
index b5aa1b7..df9cbbf 100644
--- a/lib/canon-host.c
+++ b/lib/canon-host.c
@@ -1,6 +1,6 @@
/* Host name canonicalization
- Copyright (C) 2005, 2006, 2007 Free Software Foundation, Inc.
+ Copyright (C) 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
Written by Derek Price <address@hidden>.
@@ -22,8 +22,7 @@
#include "canon-host.h"
#include <string.h>
-
-#include "getaddrinfo.h"
+#include <netdb.h>
/* Store the last error for the single-threaded version of this function. */
static int last_cherror;
--
1.5.6.5
- getaddrinfo, netdb, canon-host, Simon Josefsson, 2008/10/15
- Re: getaddrinfo, netdb, canon-host, Simon Josefsson, 2008/10/16
- Re: getaddrinfo, netdb, canon-host, Paolo Bonzini, 2008/10/16
- Re: getaddrinfo, netdb, canon-host, Simon Josefsson, 2008/10/16
- Re: getaddrinfo, netdb, canon-host, Simon Josefsson, 2008/10/20
- Re: getaddrinfo, netdb, Bruno Haible, 2008/10/20
- Re: getaddrinfo, netdb, Simon Josefsson, 2008/10/20
- Re: getaddrinfo, netdb, canon-host,
Simon Josefsson <=
- Re: getaddrinfo, netdb, canon-host, Jim Meyering, 2008/10/20
- Re: getaddrinfo, netdb, canon-host, Jim Meyering, 2008/10/20
- Re: getaddrinfo, netdb, canon-host, Simon Josefsson, 2008/10/20
- Re: getaddrinfo, netdb, canon-host, Jim Meyering, 2008/10/20