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

--- Comment #4 from Henrik Krohns <[email protected]> ---
>From what I see the whole mk_safe_tmpdir() is useless

spamc_cf.t:my $sockpath = mk_safe_tmpdir()."/spamd.sock";
spamd_client.t:  my $sockpath = mk_safe_tmpdir()."/spamd.sock";
spamd_plugin.t:my $sockpath = mk_safe_tmpdir()."/spamd.sock";
spamd_sql_prefs.t:my $userprefdb = mk_safe_tmpdir()."/userpref.db";
spamd_unix.t:my $sockpath = mk_safe_tmpdir()."/spamd.sock";
spamd_unix_and_tcp.t:my $sockpath = mk_safe_tmpdir()."/spamd.sock";
uri_list.t:my $tmpdir = mk_safe_tmpdir();

All of the can be converted to $workdir

Maybe that's enough for 99.9% use cases to not get too long path names.

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

Reply via email to