On Tue, Jan 27, 2004 at 10:49:49AM +0000, 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" actually forks off a call to "hostname"
on most OSes. I didn't like that extra fork being needed, so I hardwired it...

I understand your concern 'tho, maybe that optimization should be dropped.

Is there anything other than $hostname that is hardwired?

-- 
Cheers

Jason Haar
Information Security Manager, Trimble Navigation Ltd.
Phone: +64 3 9635 377 Fax: +64 3 9635 417
PGP Fingerprint: 7A2E 0407 C9A6 CAF6 2B9F 8422 C063 5EBB FE1D 66D1


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Qmail-scanner-general mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/qmail-scanner-general

Reply via email to