Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b47334c38fcef55138f2779f6e5274a3fc53ee5a
Ticket: 2380318fffffffffffffffffffffffffffffffff
[file tempfile] loops on Windows
User & Date: ferrieux on 2008-12-03 00:10:36
Changes

  1. assignee changed to: "dkf"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    The recent (TIP210 impl) TclpOpenTemporaryFile function, in Windows, enters an infinite loop filling %TEMP% with empty TCLxxx.tmp files.
    
    This can be tracked down to the function calling *both*  tclWinProcs->getTempFileNameProc and tclWinProcs->createFileProc, ignoring the fact that the first one already creates the file.
    
    The bottom line is that the function loops forever with  GetLastError() == ERROR_FILE_EXISTS.
     
    Donal, I'm sure you can fix this in no time ;-)
    
    (this is prio 9 because the test suite cannot be run without disabling the [file tempfile]s everywhere)
    
  4. foundin changed to: "None"
  5. is_private changed to: "0"
  6. priority changed to: "9 Immediate"
  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: "[file tempfile] loops on Windows"
  12. type changed to: "Bug"