-Original Message-
From: Jason Haar [mailto:[EMAIL PROTECTED]
Sent: Monday, February 02, 2004 5:36 PM
To: [EMAIL PROTECTED]
Subject: Re: [Qmail-scanner-general]hostname call
On Tue, Jan 27, 2004 at 10:49:49AM +, Mark Powell wrote:
Hi,
Is there any reason
-Original Message-
From: Jason Haar [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 03, 2004 2:53 PM
To: [EMAIL PROTECTED]
Subject: Re: [Qmail-scanner-general]hostname call
On Tue, Feb 03, 2004 at 08:44:08AM -0600, Dallas L. Engelken wrote:
# HOSTNAME GRABBED DYNAMICALLY
Jason Haar wrote:
On Tue, Feb 03, 2004 at 08:44:08AM -0600, Dallas L. Engelken wrote:
# HOSTNAME GRABBED DYNAMICALLY
open(ME,/var/qmail/control/me);
flock(ME,2);
my $temphost=ME;
close(ME);
Care to explain the need of a flock? Seems to me you could be making things
worse with that. After all,
Jason Haar wrote:
On Tue, Feb 03, 2004 at 08:44:08AM -0600, Dallas L. Engelken wrote:
# HOSTNAME GRABBED DYNAMICALLY open(ME,/var/qmail/control/me);
flock(ME,2);
my $temphost=ME;
close(ME);
Care to explain the need of a flock? Seems to me you could
be making
things worse
Dallas L. Engelken wrote:
you call open() expensive!
I said -relatively- expensive, relative to hard coded.
Just my 2 cents of input anyway, no need to get testy.
---
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on
-Original Message-
From: Doug Monroe [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 03, 2004 5:13 PM
To: [EMAIL PROTECTED]
Subject: Re: [Qmail-scanner-general]hostname call
Dallas L. Engelken wrote:
you call open() expensive!
I said -relatively- expensive, relative
On Tue, Jan 27, 2004 at 10:49:49AM +, Mark Powell wrote:
Hi,
Is there any reason that the hostname cannot be discovered with:
use Sys::Hostname;
my $hostname = hostname;
rather than being hardcoded. When a new virus comes along (like ClamAV's
Unfortunately, use Sys::Hostname