temporary file names
From: Bob Techentin (techentin.robert_at_mayo.edu)
Date: 07/30/04
- Next message: Aric Bills: "bug in Tcl 8.5a2?"
- Previous message: Bob Techentin: "Re: Working with ZIP files"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 30 Jul 2004 14:51:04 -0500
I've just documented (and I'm in the process of fixing) an iwidgets
bug caused by a non-existent temp directory. I reported bug 1000891
on iwidgets canvasprintbox, which tries to create a temporary file in
"/tmp," which doen't work on Windows.
I see that there is a full featured tempfile function in
tcllib::fileutil, but I don't want to make iwidgets dependent on
tcllib, so I'm working on a patch to incorporate some smarter code
into the canvasprintbox.
But it seems to me that the real problem is that the core file command
doesn't have 'tempfile' or 'tempname'. It strikes me as pretty
straightforward to wrap a call to tmpnam(), so I'm working on a TIP to
go with a patch that I submitted last week.
Bob
-- Bob Techentin techentin.robert@NOSPAMmayo.edu Mayo Foundation (507) 538-5495 200 First St. SW FAX (507) 284-9171 Rochester MN, 55901 USA http://www.mayo.edu/sppdg/
- Next message: Aric Bills: "bug in Tcl 8.5a2?"
- Previous message: Bob Techentin: "Re: Working with ZIP files"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]