Index: openacs-4/packages/contacts/www/convert.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/contacts/www/convert.tcl,v diff -u -r1.1 -r1.2 --- openacs-4/packages/contacts/www/convert.tcl 13 Dec 2006 12:50:17 -0000 1.1 +++ openacs-4/packages/contacts/www/convert.tcl 26 Nov 2024 09:23:38 -0000 1.2 @@ -7,7 +7,7 @@ } set page [lindex [ad_httpget -url "$url"] 1] -set oo_file [ns_tmpnam] +set oo_file [ns_mktemp] set file [open "$oo_file" w] puts $file $page flush $file @@ -86,5 +86,5 @@ ns_returnfile 200 $mime_type $pdf_filename -ns_unlink $oo_file -ns_unlink $pdf_filename \ No newline at end of file +file delete $oo_file +file delete $pdf_filename \ No newline at end of file