Urk!  Yes, it most certainly does need open/exclusive as well.

Thanks again, updated in my repo along with more tests: https://github.com/hga/srfi-170

- Harold

----- Original message -----
From: Shiro Kawai <xxxxxx@gmail.com>
Date: Tuesday, July 28, 2020 1:17 PM

Also, it looks like create-temp-file opens the file with only open/write and open/create flags, but I wonder if open/exclusive is needed.

On Tue, Jul 28, 2020 at 8:07 AM Shiro Kawai <xxxxxx@gmail.com> wrote:
The srfi document seems that the parameter temp-file-prefix can be used to specify your temporary directory, e.g.:

 (parameterize ((temp-file-prefix "/my-temp-prefix"))
      ...)

But the reference implementation looks like it generates its own prefix regardless of the value given to the parameter.  Is it the intention?