Tk Library Source Code

View Ticket
Login
Ticket UUID: 2376321
Title: bug in fileutil::TempDir
Type: Bug Version: None
Submitter: nobody Created on: 2008-12-02 09:17:38
Subsystem: fileutil Assigned To: andreas_kupries
Priority: 5 Medium Severity:
Status: Closed Last Modified: 2008-12-03 00:29:38
Resolution: Fixed Closed By: andreas_kupries
    Closed on: 2008-12-02 17:29:38
Description:
I believe I spotted a bug in fileutil::TempDir for $tcl_platform(platform) eq macintosh. Here is the excerpt:

macintosh {
    set tmpdir $env(TRASH_FOLDER)  ;# a better place?
}

But the variable tmpdir is nowhere used. Probably it should be:

macintosh {
    lappend attempdirs $env(TRASH_FOLDER)
}
User Comments: andreas_kupries added on 2008-12-03 00:29:35:
Committed the proposed fix to head.

andreas_kupries added on 2008-12-03 00:24:08:
I agree.