all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* getting rid of gethostby* calls
@ 2007-10-19  1:05 Dan Nicolaescu
  2007-10-19  9:14 ` Andreas Schwab
  0 siblings, 1 reply; 4+ messages in thread
From: Dan Nicolaescu @ 2007-10-19  1:05 UTC (permalink / raw)
  To: emacs-devel

Ulrich Drepper is trying to get rid of all the gethostby* calls in
Fedora. 
emacs has been given as an example of program that uses the gethostby*
functions.

An example on how to use getaddrinfo instead of gethostby* is here:

http://people.redhat.com/drepper/userapi-ipv6.html

There are just a few instances of gethostby* in the emacs tree, can
someone that understands that code please take a look? 

Thanks

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: getting rid of gethostby* calls
  2007-10-19  1:05 getting rid of gethostby* calls Dan Nicolaescu
@ 2007-10-19  9:14 ` Andreas Schwab
  2007-11-18 17:35   ` Jan Djärv
  0 siblings, 1 reply; 4+ messages in thread
From: Andreas Schwab @ 2007-10-19  9:14 UTC (permalink / raw)
  To: Dan Nicolaescu; +Cc: emacs-devel

Dan Nicolaescu <dann@ics.uci.edu> writes:

> There are just a few instances of gethostby* in the emacs tree, can
> someone that understands that code please take a look? 

Emacs itself already uses them only as a fallback, so no changes should
be needed.  The only place left is in lib-src/pop.c.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: getting rid of gethostby* calls
  2007-10-19  9:14 ` Andreas Schwab
@ 2007-11-18 17:35   ` Jan Djärv
  2007-11-19 12:25     ` Richard Stallman
  0 siblings, 1 reply; 4+ messages in thread
From: Jan Djärv @ 2007-11-18 17:35 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: Dan Nicolaescu, emacs-devel

Andreas Schwab skrev:
> Dan Nicolaescu <dann@ics.uci.edu> writes:
> 
>> There are just a few instances of gethostby* in the emacs tree, can
>> someone that understands that code please take a look? 
> 
> Emacs itself already uses them only as a fallback, so no changes should
> be needed.  The only place left is in lib-src/pop.c.
> 

As emacs already uses getaddrinfo in process.c, I added getaddrinfo to pop.c
and sysdep.c as well.

	Jan D.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: getting rid of gethostby* calls
  2007-11-18 17:35   ` Jan Djärv
@ 2007-11-19 12:25     ` Richard Stallman
  0 siblings, 0 replies; 4+ messages in thread
From: Richard Stallman @ 2007-11-19 12:25 UTC (permalink / raw)
  To: Jan Djärv; +Cc: schwab, dann, emacs-devel

    As emacs already uses getaddrinfo in process.c, I added getaddrinfo to pop.c
    and sysdep.c as well.

Thank you.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-11-19 12:25 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-19  1:05 getting rid of gethostby* calls Dan Nicolaescu
2007-10-19  9:14 ` Andreas Schwab
2007-11-18 17:35   ` Jan Djärv
2007-11-19 12:25     ` Richard Stallman

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.