Skip Menu |

This queue is for tickets about the C-Scan-Constants CPAN distribution.

Report information
The Basics
Id: 51468
Status: resolved
Priority: 0/
Queue: C-Scan-Constants

People
Owner: philip.monsen [...] gmail.com
Requestors: email [...] froggs.de
Cc:
AdminCc:

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



Subject: Tempdir uncorrect
Hi, in lib/C/Scan/Constants.pm lin 64 you're guessing that Tempdir is /tmp Thats not true for e.g. windows users. I don't know if it works if you don't set DIR at all so File::Spec can guess the correct directory. greets Tobias
Sorry this has lain dormant so long, but you're absolutely right. Just confirmed the issue using Strawberry Perl 5.10.1 on Win XP Pro. Should be easy to fix. --Phil On Thu Nov 12 07:16:31 2009, FROGGS wrote: Show quoted text
> Hi, in lib/C/Scan/Constants.pm lin 64 you're guessing that Tempdir is /tmp > > Thats not true for e.g. windows users. > > I don't know if it works if you don't set DIR at all so File::Spec can > guess the correct directory. > > greets Tobias
This will be fixed in 1.018
C::Scan::Constants v1.018, just uploaded to PAUSE, fixes this issue. Tests successfully on both Windows (Strawberry Perl and Cygwin) and on Linux (CentOS 5).