Skip Menu |

This queue is for tickets about the PathTools CPAN distribution.

Report information
The Basics
Id: 104611
Status: new
Priority: 0/
Queue: PathTools

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

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



Subject: Add %USERPROFILE% to list of env variables to check for tmpdir on Win32
The Win32API function GetTempPath checks TMP, TEMP and USERPROFILE: https://msdn.microsoft.com/en-us/library/windows/desktop/aa364992%28v=vs.85%29.aspx File::Spec should do the same for Win32 here: https://metacpan.org/source/SMUELLER/PathTools-3.47/lib/File/Spec/Win32.pm#L71 Even though the Win32 order is different, I think USERPROFILE should be added at the end of the existing list rather than re-ordering it to avoid surprises.