]> git.saurik.com Git - apple/javascriptcore.git/blobdiff - pcre/dftables
JavaScriptCore-576.tar.gz
[apple/javascriptcore.git] / pcre / dftables
index 8a2d1401b48a7bf930220b7e10a3c800b84ae37c..669b948ffc91636ca63bb85d3a66c7a0368fb379 100755 (executable)
@@ -244,7 +244,7 @@ sub readHeaderValues()
  
     my ($fh, $tempFile) = tempfile(
         basename($0) . "-XXXXXXXX",
-        DIR => File::Spec->tmpdir,
+        DIR => File::Spec->tmpdir(),
         SUFFIX => ".in",
         UNLINK => 0,
     );
@@ -269,4 +269,5 @@ sub readHeaderValues()
     
     eval $content;
     die "$@" if $@;
+    unlink $tempFile;
 }