Tcl DefaultTempDir() ignores TMPDIR
Closed / Fixed3613567fffffffffffffffffffffffffffffffffCreated 14 years agoUpdated 14 years ago
Descriptionplain2013-05-18 18:32:08
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.
rkeeneplain2013-05-19 01:39:12
File Added - 463422: tcl-8.6.0-bug3613567-1tmpdirfix.diff
dkfplain2013-05-20 21:18:02
allow_comments - 1 Probably my fault. :-)
Log in (anonymous is fine) to add a comment.
Attachments:
- tcl-8.6.0-bug3613567-1tmpdirfix.diff [download] added by rkeene on 2013-05-19 01:39:12. [details]