Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c71955d4f41a04fb28b37c232d1f26dbd2d5c393
Ticket: 2933003fffffffffffffffffffffffffffffffff
Non-configurable tempdir for child stderr
User & Date: ferrieux on 2010-01-15 17:48:11
Changes

  1. assignee changed to: "vincentdarley"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    When using [exec] or [open|] without a 2> or 2>@ redirection, the child's file descriptor 2 flows into a temporary file, but the directory used is not configurable (P_tempdir, typically "/tmp"). This causes headaches to people operating in restricted environments where /tmp is not writable:
    
    http://groups.google.com/group/comp.lang.tcl/tree/browse_frm/thread/ca773f80bfc6b9f8/34f5e85071852f72?rnum=1&_done=%2Fgroup%2Fcomp.lang.tcl%2Fbrowse_frm%2Fthread%2Fca773f80bfc6b9f8%3F#doc_34f5e85071852f72
    
    I think that the old function TclpCreateTempFile doing this should either be dropped in favour of something like TclpOpenTemporaryFile, or fixed to call the same, flexible tempdir function DefaultTempDir() (currently unix, but should be ppromoted to platform-agnostic).
    
  4. foundin changed to: "None"
  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: "ferrieux"
  10. subsystem changed to: "37. File System"
  11. title changed to: "Non-configurable tempdir for child stderr"
  12. type changed to: "Bug"