Tcl Source Code

View Ticket
Login
Ticket UUID: 649113
Title: Fix unsave tmpnam/() call
Type: Patch Version: None
Submitter: dinoex Created on: 2002-12-05 19:04:56
Subsystem: 36. Pathname Management Assigned To: vincentdarley
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2002-12-10 01:47:39
Resolution: Wont Fix Closed By: vincentdarley
    Closed on: 2002-12-09 18:47:39
Description:
Tcl8.3
use mkstemp instead of tmpnam like in tcl8.4
User Comments: vincentdarley added on 2002-12-10 01:47:39:
Logged In: YES 
user_id=32170

Thanks for the patch, but I think the easiest is just to
upgrade to 8.4.  If you are genuinely concerned about the
minutiae of the filesystem, 8.4 fixes a number of bugs
there, anyway.

hobbs added on 2002-12-06 03:17:52:
Logged In: YES 
user_id=72656

This was discussed before, but Tcl's use of mkstemp should 
be safe, it's just that the compiler complains about *any* use 
of mkstemp.  We redid it in 8.4 just to avoid the warning, but 
it's not something to worry about.

dinoex added on 2002-12-06 02:04:56:

File Added - 36937: patch-tclUnixPipe.c

Attachments: