Skip Menu |

This queue is for tickets about the PathTools CPAN distribution.

Report information
The Basics
Id: 76663
Status: open
Priority: 0/
Queue: PathTools

People
Owner: Nobody in particular
Requestors: ribasushi [...] leporine.io
Cc: MITHALDU [...] cpan.org
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: ->tmpdir on MSWin32 often returns the root-dir
The list of directories to try at https://metacpan.org/source/SMUELLER/PathTools-3.33/lib/File/Spec/Win32.pm#L73 is really short, which often results in \ being returned. Given that many tests do not properly cleanup after themselves, using ->tmpdir on MSWin32 is prone to filling up the root with random crap. We should be attempting more common cases like C:\Windows\Temp and the like.