Changeset 44357 in webkit for trunk/JavaScriptCore/pcre


Ignore:
Timestamp:
Jun 2, 2009, 6:54:49 AM (16 years ago)
Author:
[email protected]
Message:

2009-06-02 Tor Arne Vestbø <[email protected]>

Rubber-stamped by Simon Hausmann.

Use File::Spec->tmpdir instead of hardcoded paths for tempfile() dir

This fixes the Windows-build if the user does not have a /tmp directory.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/pcre/dftables

    r39554 r44357  
    245245    my ($fh, $tempFile) = tempfile(
    246246        basename($0) . "-XXXXXXXX",
    247         DIR => ($ENV{'TMPDIR'} || "/tmp"),
     247        DIR => File::Spec->tmpdir,
    248248        SUFFIX => ".in",
    249249        UNLINK => 0,
Note: See TracChangeset for help on using the changeset viewer.