| Ticket UUID: | 3613567 | ||
| Title: | Tcl DefaultTempDir() ignores TMPDIR | ||
| Type: | Bug | Created on: | 2013-05-18 18:32:08 |
| Submitter: | rkeene | Assigned to: | dkf |
| Subsystem: | 37. File System | Severity: | |
| Priority: | 8 | Last modified: | 2013-05-20 21:18:02 |
| Status: | Closed | Closed by: | dkf |
| Resolution: | Fixed | Closed on: | 2013-05-20 14:18:02 |
| Version: | current: 8.6.0 | ||
| Description: | ||||
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.
| ||||
| User Comments: | ||||
rkeene added on 2013-05-19 01:39:12:
File Added - 463422: tcl-8.6.0-bug3613567-1tmpdirfix.diff dkf added on 2013-05-20 21:18:02:
allow_comments - 1 Probably my fault. :-) | ||||
Attachments:
- tcl-8.6.0-bug3613567-1tmpdirfix.diff [download] added by rkeene on 2013-05-19 01:39:12. [details]
