Index: openacs-4/packages/oacs-dav/tcl/tDAV-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/oacs-dav/tcl/tDAV-procs.tcl,v diff -u -N -r1.12.2.1 -r1.12.2.2 --- openacs-4/packages/oacs-dav/tcl/tDAV-procs.tcl 11 Oct 2013 18:19:56 -0000 1.12.2.1 +++ openacs-4/packages/oacs-dav/tcl/tDAV-procs.tcl 1 Apr 2014 18:37:32 -0000 1.12.2.2 @@ -115,7 +115,7 @@ proc tdav::read_xml {} { set fp "" while {$fp eq ""} { - set tmpfile [ns_tmpnam] + set tmpfile [ad_tmpnam] set fp [ns_openexcl $tmpfile] } #fconfigure $fp -translation binary -encoding binary @@ -791,7 +791,7 @@ proc tdav::filter_webdav_put {args} { - set tmpfile [ns_tmpnam] + set tmpfile [ad_tmpnam] set fd [open $tmpfile w+] ns_writecontent $fd close $fd