http://bugzilla.spamassassin.org/show_bug.cgi?id=4001





------- Additional Comments From [EMAIL PROTECTED]  2004-11-26 15:45 -------
Subject: Re:  New: make test gets unitialized variable errors in 
ArchiveIterator.pm when run in Windows if no $HOME defined

On Fri, Nov 26, 2004 at 03:41:14PM -0800, [EMAIL PROTECTED] wrote:
> The ~/ replacement code in ArchiveIterator.pm uses the value of $ENV{'HOME'}
> which does not have to exist in Windows.

Isn't this just:

my $home = $ENV{'HOME'} || (Mail::SpamAssassin::Util::portable_getpwuid($>))[7];

Then use $home instead of $ENV{'HOME'}.

BTW: there are other places in the code where we use $ENV{'HOME'}.  Perhaps we
need a get_home() function which returns the above scalar value.





------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to