Re: [naviserver-devel] ns_mktemp

2024-10-07 Thread Georg Lehner
On 10/7/24 12:54, Gustaf Neumann (sslmail) wrote: Dear all. [..] However, there are many cases, where existing programs use "ns_mkstemp", which cannot be replaced easily. When looking at OpenACS, I see 33 cases like - the temporary name is passed to an external program (e.g. "tar", "zip", imag

Re: [naviserver-devel] ns_mktemp

2024-10-07 Thread Zoran Vasiljevic via naviserver-devel
On 07.10.24 12:54, Gustaf Neumann (sslmail) wrote: So, dropping the support for "ns_mkstemp" fully is not a good option. You mean ns_mktemp? ___ naviserver-devel mailing list naviserver-devel@lists.sourceforge.net https://lists.sourceforge.net/l

Re: [naviserver-devel] ns_mktemp

2024-10-07 Thread Zoran Vasiljevic via naviserver-devel
On 07.10.24 17:59, Andrew Piskorski wrote: I'd lean towards turning ns_mktemp into a wrapper around Tcl's "file tempfile". That calls TclUnixOpenTemporaryFile() and thus mkstemp() or mkstemps(), but it looks like Tcl has already done the necessary work to easily make the wrapper backwards com

Re: [naviserver-devel] ns_mktemp

2024-10-07 Thread Andrew Piskorski
On Mon, Oct 07, 2024 at 12:54:32PM +0200, Gustaf Neumann (sslmail) wrote: > However, there are many cases, where existing programs use "ns_mkstemp", > which cannot be replaced easily. When looking at OpenACS, I see 33 cases like > > - the temporary name is passed to an external program (e.g. "ta

[naviserver-devel] ns_mktemp

2024-10-07 Thread Gustaf Neumann (sslmail)
Dear all. Since Tcl9 is out there, it becomes time for working towards the NaviServer 5 release. The most recent version of NaviServer from the main branch works nicely with the release of Tcl9 (for trying, you might consider the docker image "gustafn/naviserver/latest-tcl9-bookworm” from http