Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Dec 2002 19:34:26 -0500
From:      Leo Bicknell <bicknell@ufp.org>
To:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: Perl issue on freebsd 4.x?
Message-ID:  <20021220003426.GA31402@ussenterprise.ufp.org>
In-Reply-To: <20021220110422.Q38789-100000@starbug.ugh.net.au>
References:  <20021219234021.GA30022@ussenterprise.ufp.org> <20021220110422.Q38789-100000@starbug.ugh.net.au>

next in thread | previous in thread | raw e-mail | index | archive | help

--yrj/dFKFPuw6o+aM
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment
Content-Transfer-Encoding: quoted-printable

In a message written on Fri, Dec 20, 2002 at 11:10:36AM +1100, Andrew wrote:
> I notice the C versions of these function return void and I see no mention
> of any return values in Sys::Syslog so it might be worth checking the
> Sys::Syslog code to see if testing the return value is meaningful.

Interesting.  Openlog, at least on the machine I'm looking at simply
passes through the return value of connect, which I would expect
to be meaningful.  However, it seems that it is not.  So after
running into a simple problem I made it over-complicated by checking
a return value that evidently is meaningless.

Code as you posted works, which means I can fix my script.  Thanks.

--=20
       Leo Bicknell - bicknell@ufp.org - CCIE 3440
        PGP keys at http://www.ufp.org/~bicknell/
Read TMBG List - tmbg-list-request@tmbg.org, www.tmbg.org

--yrj/dFKFPuw6o+aM
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (FreeBSD)
Comment: For info see http://www.gnupg.org

iD8DBQE+AmWSNh6mMG5yMTYRAtHTAJ9/ptymLnVFsmeVNnh56lI/tUwNfgCfQi92
AZOZu6x63k8MLBuwg6/0Utg=
=PjrD
-----END PGP SIGNATURE-----

--yrj/dFKFPuw6o+aM--

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




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