Index: openacs-4/packages/acs-tcl/tcl/tcltrace-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/tcltrace-procs.tcl,v diff -u -r1.4.2.3 -r1.4.2.4 --- openacs-4/packages/acs-tcl/tcl/tcltrace-procs.tcl 27 Mar 2020 09:01:00 -0000 1.4.2.3 +++ openacs-4/packages/acs-tcl/tcl/tcltrace-procs.tcl 13 Jul 2020 12:02:33 -0000 1.4.2.4 @@ -35,8 +35,8 @@ regsub {/$} $name /index name set fullname [ad_tmpdir]/ns_saved$name.html ns_log notice "before-ns_return: save content of ns_return to file:$fullname" - set dirname [file dirname $fullname] - if {![file isdirectory $dirname]} { + set dirname [ad_file dirname $fullname] + if {![ad_file isdirectory $dirname]} { file mkdir $dirname } set f [open $fullname w]