[Date Prev][Date Next]
(ITS#6262) Wrap gmtime(3) for re-entrancy
Full_Name: Pierangelo Masarati
Submission from: (NULL) (22.214.171.124)
Submitted by: ando
gmtime(3)/gmtime_r(3), localtime(3)/localtime_r(3) can be wrapped in a single
place, getting rid of lots of #defines and so.
A patch is ready that either provides a re-entrant wrapper or defines the
re-entrant functions as macros.
- check for re-entrancy of the WIN32 version of lutil_gettime()
- allow apps to use gmtime(3)/localtime(3) in re-entrant manner when the _r
replacements are not available (the mutex is no longer exposed)