From owner-freebsd-hackers Thu Dec 19 16:10:46 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 72E6237B407 for ; Thu, 19 Dec 2002 16:10:45 -0800 (PST) Received: from starbug.ugh.net.au (starbug.ugh.net.au [203.31.238.37]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2106243EDC for ; Thu, 19 Dec 2002 16:10:44 -0800 (PST) (envelope-from andrew@ugh.net.au) Received: by starbug.ugh.net.au (Postfix, from userid 1000) id DFC27A818; Fri, 20 Dec 2002 11:10:36 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by starbug.ugh.net.au (Postfix) with ESMTP id D99E6542F; Fri, 20 Dec 2002 11:10:36 +1100 (EST) Date: Fri, 20 Dec 2002 11:10:36 +1100 (EST) From: Andrew To: Leo Bicknell Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: Perl issue on freebsd 4.x? In-Reply-To: <20021219234021.GA30022@ussenterprise.ufp.org> Message-ID: <20021220110422.Q38789-100000@starbug.ugh.net.au> X-WonK: *wibble* MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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