Index: openacs-4/packages/acs-tcl/tcl/01-database-procs.tcl =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/acs-tcl/tcl/01-database-procs.tcl,v diff -u -r1.1.2.2 -r1.1.2.3 --- openacs-4/packages/acs-tcl/tcl/01-database-procs.tcl 10 Aug 2019 14:33:26 -0000 1.1.2.2 +++ openacs-4/packages/acs-tcl/tcl/01-database-procs.tcl 29 Sep 2019 14:55:43 -0000 1.1.2.3 @@ -2951,7 +2951,7 @@ set copy_command [subst -nobackslashes [read $fd]] close $fd set copy_file [ns_mktemp [ad_tmpdir]/psql-copyfile-XXXXXX] - set fd [open $copy_file "CREAT EXCL WRONLY" 0600] + set fd [open $copy_file {CREAT EXCL WRONLY} 0600] puts $fd $copy_command close $fd