tcl-websh-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dav...@dedasys.com (David N. Welton)
Subject Re: cvs commit: tcl-websh/src/generic weboutint.c
Date Tue, 26 Nov 2002 18:51:05 GMT
ronnie@apache.org writes:

Glad to see it worked.

>   +    ## make a temp file with a test script
>   +    set curTim [clock seconds]
>   +    set fileName $curTim-[pid]-evalfile.tcl
>   +    set fileId [open $fileName "w"]

Just FYI, there is a tcltest command to make temporary files that will
automatically be cleaned up (even if the script crashes halfway
through, for instance):

       tcltest::makeFile contents name ?directory?

although in this case it's really not worth bothering.

-- 
David N. Welton
   Consulting: http://www.dedasys.com/
     Personal: http://www.dedasys.com/davidw/
Free Software: http://www.dedasys.com/freesoftware/
   Apache Tcl: http://tcl.apache.org/

---------------------------------------------------------------------
To unsubscribe, e-mail: websh-dev-unsubscribe@tcl.apache.org
For additional commands, e-mail: websh-dev-help@tcl.apache.org


Mime
View raw message