Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Sep 2001 18:58:35 +0200
From:      Anton Berezin <tobez@tobez.org>
To:        Garrett Wollman <wollman@khavrinen.lcs.mit.edu>
Cc:        Josef Karthauser <joe@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: CVSROOT cfg.pm
Message-ID:  <20010907185835.A51811@heechee.tobez.org>
In-Reply-To: <200109071650.f87GoIM72872@khavrinen.lcs.mit.edu>; from wollman@khavrinen.lcs.mit.edu on Fri, Sep 07, 2001 at 12:50:18PM -0400
References:  <200109071627.f87GRX895895@freefall.freebsd.org> <200109071650.f87GoIM72872@khavrinen.lcs.mit.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Sep 07, 2001 at 12:50:18PM -0400, Garrett Wollman wrote:
> <<On Fri, 7 Sep 2001 09:27:33 -0700 (PDT), Josef Karthauser <joe@FreeBSD.org> said:
> 
> >   Replace Sys::Hostname::hostname with a direct call to /bin/hostname,
> 
> POSIX::gethostname, anyone?

It might actually be useful, though the idea behind Sys::Hostname module
was to provide a system-independant way of doing just that.

On Unix systems, Sys::Hostname::hostname tries several methods to
determine the host name.  It even tries gethostname() as such, without
any luck on FreeBSD, since it tries to find a syscall gethostname, not a
library function.

All this is irrelevant though, since 5.005_03 has a bug which prevents
Sys::Hostname module from being useful in all situations.

+Anton.
-- 
May the tuna salad be with you.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010907185835.A51811>