https://bz.apache.org/SpamAssassin/show_bug.cgi?id=8044

--- Comment #35 from Henrik Krohns <apa...@hege.li> ---
I see ArchiveIterator.pm has it's own workarounds

      # No $HOME set?  Try to find it, portably.
      unless ($home) {
        if (!Mail::SpamAssassin::Util::am_running_on_windows()) {
          $home = (Mail::SpamAssassin::Util::portable_getpwuid($<))[7];
        } else {
          my $vol = $ENV{'HOMEDRIVE'} || 'C:';
          my $dir = $ENV{'HOMEPATH'} || '\\';
          $home = File::Spec->catpath($vol, $dir, '');
        }

Looks perhaps more like that portable_getpwuid itself should implement
something like this.

Sorry this bug starts to get messy with multiple problems and patches.
Hopefully Sidney or someone can sort these out to maybe own bugs for easier
voting.

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

Reply via email to