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

--- Comment #33 from RvdH <[email protected]> ---
If adding require Win32; would slow things down massively, what about simply
using the environment variable that Windows sets itself?

File::Spec->catdir($ENV{'ALLUSERSPROFILE'}, ".spamassassin"); 

$ENV{'ALLUSERSPROFILE'} is C:\ProgramData on Windows 10, Windows 11, Windows
Server 2019 and Windows Server 2022 (and if i remember right was introduced
with Windows Vista, and since has been the same for Windows 7 and Windows 8 and
Windows Server variants as well)

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

Reply via email to