diff options
author | Doan Tran Cong Danh <congdanhqx@gmail.com> | 2019-11-28 19:25:04 +0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-11-30 13:50:51 -0800 |
commit | b5ab03bcb617897f9edce3d24cbc26f5e21b8f59 (patch) | |
tree | 0c8cf989f0528fa8882e60565be69ab068236260 /pack-write.c | |
parent | date.c: switch to reentrant {gm,local}time_r (diff) | |
download | tgif-b5ab03bcb617897f9edce3d24cbc26f5e21b8f59.tar.xz |
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 'pack-write.c')
0 files changed, 0 insertions, 0 deletions