diff options
author | Doan Tran Cong Danh <congdanhqx@gmail.com> | 2019-11-28 19:25:03 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-11-30 13:50:48 -0800 |
commit | ccd469450aaf62e6d0ce41a9738823d19d749a78 (patch) | |
tree | e15e54cd4a2d33cf7ff9fbc481410a094c51c0ea /commit-slab-impl.h | |
parent | The first batch post 2.24 cycle (diff) | |
download | tgif-ccd469450aaf62e6d0ce41a9738823d19d749a78.tar.xz |
date.c: switch to reentrant {gm,local}time_r
Originally, git was intended to be single-thread executable.
`gmtime(3)' and `localtime(3)' can be used in such codebase
for cleaner code.
Overtime, we're employing multithread in our code base.
Let's phase out `gmtime(3)' and `localtime(3)' in favour of
`gmtime_r(3)' and `localtime_r(3)'.
Signed-off-by: Doan Tran Cong Danh <congdanhqx@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-slab-impl.h')
0 files changed, 0 insertions, 0 deletions