This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
OK. Thanks for the patch. Do not forget the follow up bit of the patch.the attached patch makes the ctime and fdate intrinsics thread-safe by using ctime_r() if available.
Regtested on x86_64-unknown-linux-gnu, Ok for trunk?
2011-01-25 Janne Blomqvist<jb@gcc.gnu.org>
PR libfortran/47431 * config.h.in: Regenerated. * configure: Regenerated. * configure.ac: Add check for ctime_r(). * intrinsics/ctime.c (ctime_r): Fallback implementation. (fdate): Use ctime_r() instead of ctime(). (fdate_sub): Likewise. (ctime): Likewise. (ctime_sub): Likewise.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |