diff options
author | Doan Tran Cong Danh <congdanhqx@gmail.com> | 2019-11-28 12:25:04 (GMT) |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-11-30 21:50:51 (GMT) |
commit | b5ab03bcb617897f9edce3d24cbc26f5e21b8f59 (patch) | |
tree | 0c8cf989f0528fa8882e60565be69ab068236260 /compat/mingw.c | |
parent | ccd469450aaf62e6d0ce41a9738823d19d749a78 (diff) | |
download | git-b5ab03bcb617897f9edce3d24cbc26f5e21b8f59.zip git-b5ab03bcb617897f9edce3d24cbc26f5e21b8f59.tar.gz git-b5ab03bcb617897f9edce3d24cbc26f5e21b8f59.tar.bz2 |
archive-zip.c: switch to reentrant localtime_r
Originally, git was intended to be single-thread executable.
`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)' in favour of `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 'compat/mingw.c')
0 files changed, 0 insertions, 0 deletions