Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 5c0deec70cff0c7d21525732f30b6432a8a84110
Ticket: 453512ffffffffffffffffffffffffffffffffff
tmpnam() is dangerous
User & Date: nobody on 2001-08-20 21:31:28
Changes

  1. assignee changed to: "dgp"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    $ uname -a
    Linux redhat 2.4.2-2 #1 Sun Apr 8 20:41:30 EDT 2001
    i686 unknown
    $ /usr/local/bin/g++ --version
    2.95.3
    vendor - redhat 7.1
    
    When I compile
    
    /usr/local/bin/g++ -g -o myexecutable main.o -L.
    -L/usr/X11R6/lib -L/usr/local/lib -ltcl8.3 -ltk8.3
    -lX11 -lXext
    
    I get the following warning
    /usr/local/lib/libtcl8.3.a(tclUnixPipe.o): In function
    `TclpCreateTempFile':
    tclUnixPipe.o(.text+0xb4): the use of `tmpnam' is
    dangerous, better use `mkstemp'
    
  4. foundin changed to: "obsolete: 8.3.1"
  5. priority changed to: "5 Medium"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "nobody"
  9. subsystem changed to: "50. Embedding Support"
  10. title changed to: "tmpnam() is dangerous"
  11. type changed to: "Bug"