On Friday 26 November 2004 20:30 CET Sidney Markowitz wrote:
> I just tried a quick build and make test in Windows XP to see what it
> would do, and
>
> 1. I could not reach the svn server from svn, although I could ping it.
> Is it down?
>
> 2. I got lots and lots of
>
> Use of uninitialized value in concatenation (.) or string at
> ..\lib/Mail/SpamAssassin/ArchiveIterator.pm line 1023.
Hm. The line is
$path =~ s!^~/!$ENV{'HOME'}/!;
so probably HOME is not set. The question is, what should this routine do
if HOME is not set; probably the value from (getpwuid($<))[7] (before $< is
changed). What does getpwuid() say on Windows?
> 3. I realized that I would not be able to test the use of netstat anyway
> because Windows does not run spamd. You can set environment variables to
> tell the spamc tests to assume that spamd is already running on some ip
> address and port, but that isn't relevant to this issue.
The routine is used in the initialization for $spamdport which is run for
every test. So you could add a print line in SATest.pm:63. But it should
be enough if that routine just doesn't print any errors :)
Cheers,
Malte
--
[SGT] Simon G. Tatham: "How to Report Bugs Effectively"
<http://www.chiark.greenend.org.uk/~sgtatham/bugs.html>
[ESR] Eric S. Raymond: "How To Ask Questions The Smart Way"
<http://www.catb.org/~esr/faqs/smart-questions.html>