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

--- Comment #34 from Sidney Markowitz <sid...@sidney.com> ---
(In reply to RvdH from comment #33)
> If adding require Win32; would slow things down massively,

No slowdown at all, in fact as demonstrated by my tests working before I was
reminded to add the require, some other module that is loaded seems to already
require it. Adding the require statement here is just good practice because we
can't count on there always being some other module that happens to have done
it. It causes a one-time check that the module is loaded when the program first
starts up and compiles.

Even though the environment variable would work and it looks like it isn't
going away any time soon, the Win32 function is guaranteed to work across
versions of Windows and to be maintained on the remote chance that Windows does
change something.

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

Reply via email to