From: Andrew C. <ak...@sh...> - 2002-06-18 00:41:39
|
> In using Emacs with Gnus, I see frequent failures to look up > hostnames. In particular, news.gmane.org almost always fails. > Reading in other places that the getaddrinfo() implementation in > MacOSX is poor, I applied the following patch to avoid using it. > Things seem much better now - I've not had a single failure since. > > Does anyone else see similar problems ? > > Index: darwin.h > =================================================================== > RCS file: /cvsroot/emacs/emacs/src/s/darwin.h,v > retrieving revision 1.1 > diff -u -r1.1 darwin.h > --- darwin.h 26 Apr 2002 23:39:06 -0000 1.1 > +++ darwin.h 13 Jun 2002 07:04:36 -0000 > @@ -1,5 +1,5 @@ > /* System description header file for Darwin (Mac OS X). > - Copyright (C) 2001 Free Software Foundation, Inc. > + Copyright (C) 2001, 2002 Free Software Foundation, Inc. > > This file is part of GNU Emacs. > > @@ -276,6 +276,8 @@ > /* Do not define matherr in floatfns.c. */ > #define NO_MATHERR > > +/* Up to 10.1.5 getaddrinfo() is suspect (dm...@dm...) */ > +#undef HAVE_GETADDRINFO > > /* This prevents a compilation error in xfaces.c: struct kboard * is > used in a function protocol the first time this type appears in the Thank you for this fix. It should be harmless since it just tells Emacs to use its own emulation of getaddrinfo. Can people please try this out? Does anyone experience a similar problem? What are the symptoms when the look up of a hostname fails? |