apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Orton <...@manyfish.co.uk>
Subject Re: cvs commit: apr/file_io/unix tempdir.c
Date Mon, 03 Nov 2003 11:44:34 GMT
On Sun, Nov 02, 2003 at 03:46:02PM -0000, striker@apache.org 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?

Mime
View raw message