On Sun, Nov 02, 2003 at 03:46:02PM -0000, [EMAIL PROTECTED] wrote: > striker 2003/11/02 07:46:02 > > Modified: file_io/unix tempdir.c > Log: > * file_io/unix/tempdir.c > > (apr_temp_dir_get): If we have a cache we might aswell use it.
> --- tempdir.c 2 Nov 2003 01:13:52 -0000 1.4 > +++ tempdir.c 2 Nov 2003 15:46:02 -0000 1.5 > @@ -91,6 +91,10 @@ > char *cwd; > int i; > > + /* If we have a cached temp dir, use it. */ > + if (global_temp_dir[0]) > + goto end; > + This has worrying thread-safety implications, surely?
