Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 619d5389234fbb941d6bb411684d777008684217
Ticket: 3613567fffffffffffffffffffffffffffffffff
Tcl DefaultTempDir() ignores TMPDIR
User & Date: rkeene on 2013-05-18 18:32:08
Changes

  1. assignee changed to: "dgp"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    DefaultTempDir() in unix/tclUnixFCmd.c will only process TMPDIR if it is *NOT* writable.  This is because it fails to correctly handle the return value from access().
    
    The two calls to access() in this function are:
    
            access(dir, W_OK)
    and should be:
            access(dir, W_OK) == 0
    
    Patch attached in first update.
    
  4. foundin changed to: "current: 8.6.0"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "rkeene"
  10. subsystem changed to: "37. File System"
  11. title changed to: "Tcl DefaultTempDir() ignores TMPDIR"
  12. type changed to: "Bug"