Date: Fri, 20 Dec 2002 11:10:36 +1100 (EST) From: Andrew <andrew@ugh.net.au> To: Leo Bicknell <bicknell@ufp.org> Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Perl issue on freebsd 4.x? Message-ID: <20021220110422.Q38789-100000@starbug.ugh.net.au> In-Reply-To: <20021219234021.GA30022@ussenterprise.ufp.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
As a point of reference under 4.7-STABLE the following works as expected:
#!/usr/bin/perl -w
use Sys::Syslog qw(:DEFAULT setlogsock);
setlogsock('unix');
openlog('test', 'pid', 'local0');
syslog('notice', 'testing');
closelog();
Andrew
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?20021220110422.Q38789-100000>
