Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Oct 2002 04:13:55 -0700
From:      Randy Bush <randy@psg.com>
To:        Ceri Davies <setantae@submonkey.net>
Cc:        Simon Dick <simond@irrelevant.org>, FreeBSD Stable <freebsd-stable@freebsd.org>
Subject:   Re: Syslog.pm Cannot get host name of local machine
Message-ID:  <E183aVP-0001S3-00@rip.psg.com>
References:  <E183ZhI-0000E4-00@rip.psg.com> <1035196522.1771.12.camel@linux> <20021021104053.GA41043@submonkey.net> <E183a3M-0000kD-00@rip.psg.com> <20021021104831.GB41131@submonkey.net>

next in thread | previous in thread | raw e-mail | index | archive | help
simon had the more correct patch

*** /usr/libdata/perl/5.00503/Sys/Hostname.pm~  Mon Oct 21 03:16:31 2002
--- /usr/libdata/perl/5.00503/Sys/Hostname.pm   Mon Oct 21 04:03:07 2002
***************
*** 98,103 ****
--- 98,104 ----
        local $SIG{__DIE__};
        $host = `(hostname) 2>/dev/null`; # bsdish
        $ENV{'PATH'} = $pathstack;
+       $host;
      }
  
      # method 4 - sysV uname command (may truncate)


method 4 will have the same problem

randy


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E183aVP-0001S3-00>