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 /archive-zip.c | |
parent | d9f6f3b6195a0ca35642561e530798ad1469bd41 (diff) | |
download | git-ccd469450aaf62e6d0ce41a9738823d19d749a78.tar.gz |
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 'archive-zip.c')
0 files changed, 0 insertions, 0 deletions