[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apt: Uses bogus ftp password on ftp:// urls

Rob Browning writes:
> Some things I saw a while back are much clearer given this explanation.

Actually, my explanation is a bit misleading.  gethostbyname() returns a
structure that contains the name, aliases, and addresses of the host.  The
caller in the situations under discussion discards all but the fqdn.
However, it is gethostbyname() that decides that the second field in the
the first matching line in /etc/hosts is the fqdn.
John Hasler
john@dhh.gt.org (John Hasler)
Dancing Horse Hill
Elmwood, WI

To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Reply to: