Re: [PATCH v2] git-compat-util: use gettimeofday(2) for time(2)
- From
Paul Eggert <eggert@cs.ucla.edu>
- Date
- Mar 20, 2023, 23:21 UTC
- Message-ID
- <f78fd970-cce5-0a38-5ada-94ccb5bce592@cs.ucla.edu>
- In-Reply-To
- <20230320230507.3932018-1-gitster@pobox.com>
Thanks, this looks good. As a matter of fact it almost precisely matches what I was about to email you. The only significant difference is that yours has "#define time(x) git_time(x)" whereas mine had "#define time git_time". Since Git never takes the address of 'time' the two macro definitions should have equivalent effects when used in Git.