This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: [Patch, libgfortran] PR 40190 DATE_AND_TIME not thread-safe
Janne Blomqvist wrote:
> On Thu, May 21, 2009 at 10:32, FX <fxcoudert@gmail.com> wrote:
>
>> At least one supported target doesn't has neither localtime_r nor gmtime_r:
>> mingw.
>>
> The attached patch adds fallback implementations for localtime_r and
> gmtime_r that should work properly on MINGW and other targets where we
> support OpenMP and that have threadsafe localtime and gmtime.
>
> Ok for trunk?
>
OK. Thanks for the patch.
Tobias